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 */
|
||||
if (ret < 0) {
|
||||
xmpp_error(ctx, "xmpp", "event watcher internal error %d",
|
||||
sock_error());
|
||||
if (!sock_is_recoverable(sock_error()))
|
||||
xmpp_error(ctx, "xmpp", "event watcher internal error %d",
|
||||
sock_error());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user