From cb12e922d5ee1438e47c9510db6748f91f70976e Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 10 Jan 2007 16:42:39 +0000 Subject: Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1 --- opentracker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/opentracker.c b/opentracker.c index d22a3b2..ac09089 100644 --- a/opentracker.c +++ b/opentracker.c @@ -382,6 +382,7 @@ allparsed: if (!io_fd(s)) panic("io_fd"); + signal( SIGPIPE, SIG_IGN ); signal( SIGINT, graceful ); if( init_logic( serverdir ) == -1 ) panic("Logic not started"); -- cgit v1.2.3