From 400c9a4d6f120ca65c70731e5c37a7d3847f2822 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Wed, 10 Jan 2007 16:42:39 +0000 Subject: [PATCH] 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");