[Freeswitch-trunk] [commit] r6560 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Thu Dec 6 21:04:24 EST 2007


Author: mikej
Date: Thu Dec  6 21:04:23 2007
New Revision: 6560

Modified:
   freeswitch/trunk/src/switch_core.c

Log:
don't blow up on shutdown in -nc mode.

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Thu Dec  6 21:04:23 2007
@@ -999,7 +999,7 @@
 
 
 
-	if (runtime.console != stdout && runtime.console != stderr) {
+	if (runtime.console && runtime.console != stdout && runtime.console != stderr) {
 		fclose(runtime.console);
 		runtime.console = NULL;
 	}



More information about the Freeswitch-trunk mailing list