Close client socket in sessiond
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 2 Jun 2011 17:22:40 +0000 (13:22 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Thu, 2 Jun 2011 17:22:40 +0000 (13:22 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index 93e6ca6689e0fd09304509c5de34f29d0475289e..44c45ecd13ca36f2e56f31ee84d11485c372605b 100644 (file)
@@ -1201,6 +1201,9 @@ static void *thread_manage_clients(void *data)
                }
 
                clean_command_ctx(cmd_ctx);
+
+               /* End of transmission */
+               close(sock);
        }
 
 error:
This page took 0.035779 seconds and 4 git commands to generate.