Fixed win32 compatibility.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9825 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ee7498b451
commit
87a295d253
|
@ -617,8 +617,8 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (destroy_status == SWITCH_STATUS_RESTART) {
|
if (destroy_status == SWITCH_STATUS_RESTART) {
|
||||||
sleep(1);
|
switch_sleep(1);
|
||||||
ret = execv(argv[0], argv);
|
ret = (int)execv(argv[0], argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue