changeset 413:f7e4b0424081

Ignore SIGPIPE
author Mikael Berthe <mikael@lilotux.net>
date Tue, 30 Aug 2005 21:25:16 +0200
parents 9c640ee3bae3
children ec86d759ed54
files mcabber/src/main.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/main.c	Sun Aug 28 21:23:05 2005 +0200
+++ b/mcabber/src/main.c	Tue Aug 30 21:25:16 2005 +0200
@@ -175,6 +175,7 @@
   signal(SIGTERM, sig_handler);
   signal(SIGINT,  sig_handler);
   signal(SIGCHLD, sig_handler);
+  signal(SIGPIPE, SIG_IGN);
 
   /* Parse command line options */
   while (1) {