Fix: typo when closing the consumer client socket
[lttng-tools.git] / 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.023539 seconds and 4 git commands to generate.