fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11566 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-01-30 18:11:32 +00:00
parent a50909ed8a
commit ebbfd596a8

View File

@ -660,6 +660,7 @@ int main(int argc, char *argv[])
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));