Fix lttcomm_close_unix_sock to actually close the socket
authorDavid Goulet <dgoulet@efficios.com>
Thu, 16 Feb 2012 22:29:37 +0000 (17:29 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 16 Feb 2012 22:36:00 +0000 (17:36 -0500)
commitb0ef677e04ce0b544e883831c8b0050710c1b651
tree10f286a3e95d8f12af47330fb162df94a820eb4c
parent68c1b3837781ca6d6c69c6d1b5a3fa38f76b1bfd
Fix lttcomm_close_unix_sock to actually close the socket

To all soul out there, shutdown(sock, SHUT_RDWR) does NOT close the
socket keeping it open after the call. I have to say for my defense that
the man page does not specify it clearly :P.

Reported-by: Irina Guilman <irina.guilman@ericsson.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/sessiond-comm/sessiond-comm.c
This page took 0.025529 seconds and 4 git commands to generate.