]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: ignore nothing to read condition
authorMoises Silva <moy@sangoma.com>
Thu, 3 Jun 2010 23:09:34 +0000 (19:09 -0400)
committerMoises Silva <moy@sangoma.com>
Thu, 3 Jun 2010 23:09:34 +0000 (19:09 -0400)
libs/freetdm/mod_freetdm/mod_freetdm.c

index 0c7a3447d6b7495b41cf3e9f866b426b3ddc103d..a0ff5c0f1ca70ca7b58cf5f3bfee598a5eb2e366 100644 (file)
@@ -661,8 +661,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
        }
 
        if (!(wflags & FTDM_READ)) {
-               ftdm_log(FTDM_LOG_WARNING, "I/O waiting returned status %d but nothing to read is available\n", status);
-               goto fail;
+               goto top;
        }
 
        len = tech_pvt->read_frame.buflen;