aboutsummaryrefslogtreecommitdiff
path: root/weechat
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-04-09 15:23:27 +0200
committertomsmeding <tom.smeding@gmail.com>2017-04-09 15:23:27 +0200
commitca35234630332e5ebb70626ca4052339454ff0fa (patch)
tree0bcda9f8b5a331820a578161e12920c838129b68 /weechat
parent6707269817b5ecc5717d62c3ec806978171016e5 (diff)
weechat: Correctly succeed receiving data after recv()
Diffstat (limited to 'weechat')
-rw-r--r--weechat/tomsg.c1
1 files changed, 1 insertions, 0 deletions
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){