]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
twiax (tweek-iax get it twiax... lol)
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 14 Aug 2006 19:03:36 +0000 (19:03 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 14 Aug 2006 19:03:36 +0000 (19:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2291 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_iax/mod_iax.c

index 358935011a55fbd88d772f71f1bd5de396b06552..dccbb6931c4e8b82a1944adc0e8bce3b31e5eea5 100644 (file)
@@ -934,9 +934,9 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void)
 
                /* Wait for an event. */
                if ((iaxevent = iax_get_event(0)) == NULL) {
-                       switch_yield(1000);
+                       switch_yield(100);
                        continue;
-               } else if (iaxevent) {
+               } else {
                        struct private_object *tech_pvt = iax_get_private(iaxevent->session);
 
                        if (globals.debug && iaxevent->etype != IAX_EVENT_VOICE) {