]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
wrong sleep units from switch_sleep
authorMichael Jerris <mike@jerris.com>
Mon, 6 Oct 2008 15:43:38 +0000 (15:43 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 6 Oct 2008 15:43:38 +0000 (15:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9853 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch.c

index 949766becc090ddf1e8a76a9751155390582d3e7..14c9865301821e6d434e2946f3a8bfae7ca72d8f 100644 (file)
@@ -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);
        }