[Freeswitch-svn] [commit] r9632 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Tue Sep 23 18:09:40 EDT 2008


Author: anthm
Date: Tue Sep 23 18:09:40 2008
New Revision: 9632

Modified:
   freeswitch/trunk/src/switch.c

Log:
make me ill

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Tue Sep 23 18:09:40 2008
@@ -65,7 +65,7 @@
 /* signal handler for when freeswitch is running in background mode.
  * signal triggers the shutdown of freeswitch
 # */
-static void handle_SIGTERM(int sig)
+static void handle_SIGILL(int sig)
 {
 	int32_t arg = 0;
 	if (sig);
@@ -123,7 +123,7 @@
 		}
 #else
 		/* for unix, send the signal to kill. */
-		kill(pid, SIGTERM);
+		kill(pid, SIGILL);
 #endif
 	}
 
@@ -547,7 +547,7 @@
 		return 255;
 	}
 
-	signal(SIGTERM, handle_SIGTERM);
+	signal(SIGILL, handle_SIGILL);
 
 	if (nc) {
 #ifdef WIN32



More information about the Freeswitch-svn mailing list