From ca35234630332e5ebb70626ca4052339454ff0fa Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 9 Apr 2017 15:23:27 +0200 Subject: weechat: Correctly succeed receiving data after recv() --- weechat/tomsg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/weechat/tomsg.c b/weechat/tomsg.c index 1235a71..6b5703c 100644 --- a/weechat/tomsg.c +++ b/weechat/tomsg.c @@ -227,6 +227,7 @@ static int fd_hook_callback(const void *conn_vp,void *_d,int fd){ weechat_buffer_close(conn->buffer); return WEECHAT_RC_OK; } + break; } conn->linebuf_len+=nr; while(true){ -- cgit v1.2.3-70-g09d2