Fixed win32 compatibility.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9825 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Robert Joly 2008-10-04 06:39:28 +00:00
parent ee7498b451
commit 87a295d253
1 changed files with 2 additions and 2 deletions

View File

@ -617,8 +617,8 @@ int main(int argc, char *argv[])
}
if (destroy_status == SWITCH_STATUS_RESTART) {
sleep(1);
ret = execv(argv[0], argv);
switch_sleep(1);
ret = (int)execv(argv[0], argv);
}
return ret;