diff --git a/src/siproxd.c b/src/siproxd.c index cf17776..896be55 100644 --- a/src/siproxd.c +++ b/src/siproxd.c @@ -1,5 +1,5 @@ -/* -*- Mode: C; c-basic-offset: 3 -*- - Copyright (C) 2002-2005 Thomas Ries +/* + Copyright (C) 2002-2007 Thomas Ries This file is part of Siproxd. @@ -116,6 +116,9 @@ int main (int argc, char *argv[]) if (sigaction(SIGUSR2, &act, NULL)) { ERROR("Failed to install SIGUSR2 handler"); } + if (sigaction(SIGPIPE, &act, NULL)) { + ERROR("Failed to install SIGPIPE handler"); + } /*