X-Git-Url: https://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libustcomm%2Fustcomm.c;h=89b918aae5590bf24750e645df49922fb7fd2772;hp=259931d0be8e38a7811841e41218b7bb7cf9fa22;hb=2c1ccefa04f76f4ed7ed2c6bd02b1144e3ba1582;hpb=cd03ff7fc37d27519d174974c8867d39da44feae diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c index 259931d..89b918a 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);