Remove spurious error notices on EINTR and EAGAIN in xmpp_run_once().
This commit is contained in:
@@ -222,8 +222,9 @@ void xmpp_run_once(xmpp_ctx_t *ctx, const unsigned long timeout)
|
|||||||
|
|
||||||
/* select errored */
|
/* select errored */
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
xmpp_error(ctx, "xmpp", "event watcher internal error %d",
|
if (!sock_is_recoverable(sock_error()))
|
||||||
sock_error());
|
xmpp_error(ctx, "xmpp", "event watcher internal error %d",
|
||||||
|
sock_error());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user