Fix: typo when closing the consumer client socket
authorDavid Goulet <dgoulet@efficios.com>
Tue, 28 May 2013 18:50:21 +0000 (14:50 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 28 May 2013 18:50:21 +0000 (14:50 -0400)
Issue 1019917 of covertiry scan.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c

index 78b3f0799737139fc9067a601a39452e384b3e0e..a856f030efe63c3553c820d96012b065e9817e8b 100644 (file)
@@ -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");
                }
This page took 0.027558 seconds and 4 git commands to generate.