]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 30 Dec 2009 15:52:11 +0000 (15:52 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 30 Dec 2009 15:52:11 +0000 (15:52 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16094 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_time.c

index 6d6a78f32d36954b4c9c42b5c18b5ddc9adb8f0e..cae413262862f266766624cb3ec99577d53c87b2 100644 (file)
@@ -105,7 +105,7 @@ static void do_sleep(switch_interval_time_t t)
 #endif
 
 #if !defined(DARWIN)
-       if (t > 100000) {
+       if (t > 100000 || !NANO) {
                apr_sleep(t);
        }
 #endif