From: David Goulet Date: Tue, 28 May 2013 18:50:21 +0000 (-0400) Subject: Fix: typo when closing the consumer client socket X-Git-Tag: v2.2.0-rc3~43 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=38476d240b5de15dea9b9bd1c8691f64cd1c69be;p=lttng-tools.git Fix: typo when closing the consumer client socket Issue 1019917 of covertiry scan. Signed-off-by: David Goulet --- 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"); }