]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ftmod_zt rc has changed to result
authorcypromis <michal.bielicki@seventhsignal.de>
Wed, 17 Nov 2010 16:01:30 +0000 (17:01 +0100)
committercypromis <michal.bielicki@seventhsignal.de>
Wed, 17 Nov 2010 16:01:30 +0000 (17:01 +0100)
libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c

index b135e61269bcef1409feb9ad6b1b1d02a7169b24..06c48da78aa5290e8a93fcff735d12327d1f2ce9 100644 (file)
@@ -896,7 +896,7 @@ pollagain:
        result = poll(pfds, 1, to);
        *flags = 0;
 
-       if (rc < 0 && errno == EINTR) {
+       if result < 0 && errno == EINTR) {
                ftdm_log_chan_msg(ftdmchan, FTDM_LOG_DEBUG, "DAHDI wait got interrupted, trying again\n");
                goto pollagain;
        }