aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 0f2d3684..82ef9cf0 100644
--- a/client.c
+++ b/client.c
@@ -464,7 +464,7 @@ client_callback(unused int fd, short events, void *data)
}
if (events & EV_WRITE) {
- if (msgbuf_write(&client_ibuf.w) < 0)
+ if (msgbuf_write(&client_ibuf.w) < 0 && errno != EAGAIN)
goto lost_server;
}