changeset 1548:c867a2123830

[gaim-migrate @ 1558] ignore SIGPIPE committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 08 Mar 2001 22:15:44 +0000
parents 7b50a08090a2
children ee667b59de69
files src/aim.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/aim.c	Thu Mar 08 21:53:58 2001 +0000
+++ b/src/aim.c	Thu Mar 08 22:15:44 2001 +0000
@@ -398,10 +398,6 @@
 			"RobFlynn and they can instruct you).\n");
 		abort();
 		break;
-	case SIGPIPE:
-		/* FIXME: we should be checking to see which connection died. maybe add
-		 * something to struct prpl to have it check its connections? */
-		break;
 	default:
 		gtk_main_quit();
 		exit(0);
@@ -453,7 +449,7 @@
 	signal(SIGSEGV, sighandler);
 	signal(SIGHUP, sighandler);
 	signal(SIGINT, sighandler);
-	signal(SIGPIPE, sighandler);
+	signal(SIGPIPE, SIG_IGN);
 #endif