changeset 1820:73bb4244165f

[gaim-migrate @ 1830] this would be good, so that we're not in a big loop when we segfault. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 06 May 2001 11:27:36 +0000
parents 47e064712091
children 5fc89f9e7f3e
files src/aim.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/aim.c	Sun May 06 11:24:04 2001 +0000
+++ b/src/aim.c	Sun May 06 11:27:36 2001 +0000
@@ -388,8 +388,6 @@
 #if HAVE_SIGNAL_H
 void sighandler(int sig)
 {
-	debug_printf("caught signal %d\n", sig);
-	gtkspell_stop();
 	switch (sig) {
 	case SIGSEGV:
 		fprintf(stderr, "Gaim has segfaulted and attempted to dump a core file.\n"
@@ -402,6 +400,8 @@
 		abort();
 		break;
 	default:
+		gtkspell_stop();
+		debug_printf("caught signal %d\n", sig);
 		if (gtk_main_level())
 			gtk_main_quit();
 		exit(0);