X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=a856f030efe63c3553c820d96012b065e9817e8b;hb=38476d240b5de15dea9b9bd1c8691f64cd1c69be;hp=78b3f0799737139fc9067a601a39452e384b3e0e;hpb=30d86f7d9b5b49d8e035e686b9d23c7bda805e11;p=lttng-tools.git diff --git a/src/common/consumer.c b/src/common/consumer.c index 78b3f0799..a856f030e 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -2976,7 +2976,7 @@ end: } } if (client_socket >= 0) { - ret = close(sock); + ret = close(client_socket); if (ret < 0) { PERROR("close client_socket sessiond poll"); }