commit 6f957174c66889f8b89e9152993a85bd4dab824c
parent 15043c6d6ced6ccc1fd6843d6cccc702ce40e299
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 3 Apr 2011 12:03:24 +0000
fixing 1672
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
@@ -942,7 +942,7 @@ MHD_add_connection (struct MHD_Daemon *daemon,
#if OSX
#ifdef SOL_SOCKET
#ifdef SO_NOSIGPIPE
- setsockopt (s, SOL_SOCKET, SO_NOSIGPIPE, &on, sizeof (on));
+ setsockopt (client_socket, SOL_SOCKET, SO_NOSIGPIPE, &on, sizeof (on));
#endif
#endif
#endif