From 05d1fd2a66e6acb73937a0adae23563f6ee6fae0 Mon Sep 17 00:00:00 2001 From: cypromis Date: Wed, 17 Nov 2010 17:01:30 +0100 Subject: [PATCH] ftmod_zt rc has changed to result --- libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c b/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c index b135e61269..06c48da78a 100644 --- a/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c +++ b/libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c @@ -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; }