From b2b7e9cef1bbe70018505cd4bc222058d7e6f106 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Fri, 2 Jul 2004 18:58:23 +0000 Subject: tiny bug in test. --- src/usocket.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/usocket.c b/src/usocket.c index 0e3d30c..4e73a96 100644 --- a/src/usocket.c +++ b/src/usocket.c @@ -17,12 +17,6 @@ * Initializes module \*-------------------------------------------------------------------------*/ int sock_open(void) { -#if DOESNT_COMPILE_TRY_THIS - struct sigaction ignore; - memset(&ignore, 0, sizeof(ignore)); - ignore.sa_handler = SIG_IGN; - sigaction(SIGPIPE, &ignore, NULL); -#endif /* instals a handler to ignore sigpipe or it will crash us */ signal(SIGPIPE, SIG_IGN); return 1; -- cgit v1.2.3-55-g6feb