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

Freeswitch SVN robertj at freeswitch.org
Sat Oct 4 02:39:28 EDT 2008


Author: robertj
Date: Sat Oct  4 02:39:28 2008
New Revision: 9825

Modified:
   freeswitch/trunk/src/switch.c

Log:
Fixed win32 compatibility.

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Sat Oct  4 02:39:28 2008
@@ -617,8 +617,8 @@
 	}
 
 	if (destroy_status == SWITCH_STATUS_RESTART) {
-		sleep(1);
-		ret = execv(argv[0], argv);
+        switch_sleep(1);
+		ret = (int)execv(argv[0], argv);
 	}
 
 	return ret;



More information about the Freeswitch-svn mailing list