diff options
-rw-r--r-- | ratox.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -501,12 +501,8 @@ cbcalldata(void *av, int32_t cnum, const int16_t *data, uint16_t len, void *udat while (len > 0) { n = write(f->fd[FCALL_OUT], &buf[wrote], len); if (n < 0) { - if (errno == EPIPE) { + if (errno == EPIPE) f->av.state &= ~INCOMING; - break; - } else if (errno == EWOULDBLOCK) { - continue; - } break; } else if (n == 0) { break; |