diff --git a/aucat/listen.c b/aucat/listen.c index b016541..2b48780 100644 --- a/aucat/listen.c +++ b/aucat/listen.c @@ -191,7 +191,7 @@ listen_revents(struct file *file, struct pollfd *pfd) continue; if (errno == ENFILE || errno == EMFILE) file_slowaccept = 1; - else + else if (errno != ECONNABORTED && errno != EWOULDBLOCK) perror("accept"); return 0; } diff --git a/sndiod/listen.c b/sndiod/listen.c index e80cd8c..5f0ee1c 100644 --- a/sndiod/listen.c +++ b/sndiod/listen.c @@ -244,7 +244,7 @@ listen_in(void *arg) continue; if (errno == ENFILE || errno == EMFILE) file_slowaccept = 1; - else + else if (errno != ECONNABORTED && errno != EWOULDBLOCK) perror("accept"); return; }