X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.c;h=cb72db65733eb5353c7d10a74018ff856874c648;hb=69c37f741b8bd8aea95019e1debf5e3bfa9d7fff;hp=259931d0be8e38a7811841e41218b7bb7cf9fa22;hpb=750f9da42a4d6e09b068ca959977707b20c98f36;p=ust.git diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c index 259931d..cb72db6 100644 --- a/libustcomm/ustcomm.c +++ b/libustcomm/ustcomm.c @@ -421,8 +421,6 @@ int ustcomm_recv_message(struct ustcomm_server *server, char **msg, struct ustco if(retval == 0) { /* connection finished */ - close(fds[idx].fd); - list_for_each_entry(conn, &server->connections, list) { if(conn->fd == fds[idx].fd) { ustcomm_close_app(conn); @@ -505,7 +503,7 @@ static int init_named_socket(const char *name, char **path_out) PERROR("unlink of socket file"); goto close_sock; } - WARN("socket already exists; overwriting"); + DBG("socket already exists; overwriting"); } result = bind(fd, (struct sockaddr *)&addr, sizeof(addr));