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

FreeSWITCH SVN mikej at freeswitch.org
Fri Jan 30 10:11:32 PST 2009


Author: mikej
Date: Fri Jan 30 12:11:32 2009
New Revision: 11566

Log:
fix windows build

Modified:
   freeswitch/trunk/src/switch.c

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Fri Jan 30 12:11:32 2009
@@ -660,6 +660,7 @@
 		char buf[1024] = "";
 		int i = 0;
 		
+		switch_assert(argv[0]);
 		switch_sleep(1000000);
 		ret = (int)execv(argv[0], argv);
 		fprintf(stderr, "Restart Failed [%s] resorting to plan b\n", strerror(errno));



More information about the Freeswitch-svn mailing list