diff --git a/libs/freetdm/.update b/libs/freetdm/.update index 30f69ec1d6..dd1ee6e7b5 100644 --- a/libs/freetdm/.update +++ b/libs/freetdm/.update @@ -1 +1 @@ -Thu May 1 12:15:19 EDT 2008 +Fri May 9 10:23:02 EDT 2008 diff --git a/libs/freetdm/src/zap_analog.c b/libs/freetdm/src/zap_analog.c index c6e6c62b26..2b053cff9b 100644 --- a/libs/freetdm/src/zap_analog.c +++ b/libs/freetdm/src/zap_analog.c @@ -778,8 +778,7 @@ static void *zap_analog_run(zap_thread_t *me, void *obj) break; case ZAP_FAIL: { - zap_log(ZAP_LOG_DEBUG, "Failure!\n"); - goto end; + zap_log(ZAP_LOG_ERROR, "Failure Polling event! [%s]\n", span->last_error); } break; default: diff --git a/libs/freetdm/src/zap_zt.c b/libs/freetdm/src/zap_zt.c index 6c0c6d3140..afcf3ca968 100644 --- a/libs/freetdm/src/zap_zt.c +++ b/libs/freetdm/src/zap_zt.c @@ -565,6 +565,10 @@ ZIO_SPAN_POLL_EVENT_FUNCTION(zt_poll_event) } } + if (!k) { + snprintf(span->last_error, sizeof(span->last_error), "no matching descriptor"); + } + return k ? ZAP_SUCCESS : ZAP_FAIL; }