freebsd-ports/audio/lash/files/patch-lashd-conn_mgr.c

16 lines
351 B
C
Raw Normal View History

--- lashd/conn_mgr.c.orig 2008-01-02 20:26:00.000000000 +0100
+++ lashd/conn_mgr.c 2008-01-02 20:27:11.000000000 +0100
@@ -759,7 +759,11 @@
fprintf(stderr, "%s: error calling select(): %s\n", __FUNCTION__,
strerror(errno));
- return NULL;
+
+ if (errno == EBADF)
+ continue;
+ else
+ return NULL;
}
if (conn_mgr->quit)