diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-04-09 15:23:27 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-04-09 15:23:27 +0200 |
commit | ca35234630332e5ebb70626ca4052339454ff0fa (patch) | |
tree | 0bcda9f8b5a331820a578161e12920c838129b68 | |
parent | 6707269817b5ecc5717d62c3ec806978171016e5 (diff) |
weechat: Correctly succeed receiving data after recv()
-rw-r--r-- | weechat/tomsg.c | 1 |
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){ |