ftmod_zt rc has changed to result

This commit is contained in:
cypromis 2010-11-17 17:01:30 +01:00
parent 1c1df1f772
commit 05d1fd2a66
1 changed files with 1 additions and 1 deletions

View 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;
}