1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

fifo: fix send error on Cygwin when something is received in the pipe (closes #436)

This commit is contained in:
Sébastien Helleu
2015-06-07 19:17:49 +02:00
parent 00abc2bde5
commit f21adaa6ab
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ fifo_read (void *data, int fd)
{
if (num_read < 0)
{
if (errno == EAGAIN)
if ((errno == EAGAIN) || (errno == ECOMM))
return WEECHAT_RC_OK;
weechat_printf (NULL,