summaryrefslogtreecommitdiff
path: root/audio/lash/files/patch-lashd_conn__mgr.c
blob: 40bc4b620b12ea5f718911617a790fbb1ae6565e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- lashd/conn_mgr.c.orig	2007-04-08 21:18:23 UTC
+++ lashd/conn_mgr.c
@@ -759,7 +759,11 @@ conn_mgr_recv_run(void *data)
 
 			fprintf(stderr, "%s: error calling select(): %s\n", __FUNCTION__,
 					strerror(errno));
-			return NULL;
+
+			if (errno == EBADF)
+				continue;
+			else
+				return NULL;
 		}
 
 		if (conn_mgr->quit)