From: Michael Jerris Date: Mon, 6 Oct 2008 15:43:38 +0000 (+0000) Subject: wrong sleep units from switch_sleep X-Git-Tag: v1.0.2~946 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df5104e9c1f567b7d2c65920cf73d76f05e41c1a;p=thirdparty%2Ffreeswitch.git wrong sleep units from switch_sleep git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9853 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch.c b/src/switch.c index 949766becc..14c9865301 100644 --- a/src/switch.c +++ b/src/switch.c @@ -617,7 +617,7 @@ int main(int argc, char *argv[]) } if (destroy_status == SWITCH_STATUS_RESTART) { - switch_sleep(1); + switch_sleep(1000000); ret = (int)execv(argv[0], argv); }