update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@473 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
e1a86feba8
commit
cb61732820
|
@ -1 +1 @@
|
||||||
Thu May 1 12:15:19 EDT 2008
|
Fri May 9 10:23:02 EDT 2008
|
||||||
|
|
|
@ -778,8 +778,7 @@ static void *zap_analog_run(zap_thread_t *me, void *obj)
|
||||||
break;
|
break;
|
||||||
case ZAP_FAIL:
|
case ZAP_FAIL:
|
||||||
{
|
{
|
||||||
zap_log(ZAP_LOG_DEBUG, "Failure!\n");
|
zap_log(ZAP_LOG_ERROR, "Failure Polling event! [%s]\n", span->last_error);
|
||||||
goto end;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -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;
|
return k ? ZAP_SUCCESS : ZAP_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue