From 38476d240b5de15dea9b9bd1c8691f64cd1c69be Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 28 May 2013 14:50:21 -0400 Subject: [PATCH] Fix: typo when closing the consumer client socket Issue 1019917 of covertiry scan. Signed-off-by: David Goulet --- src/common/consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.34.1