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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user