summary refs log tree commit diff
path: root/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.c')
-rw-r--r--dispatch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dispatch.c b/dispatch.c
index c2e2d50..c558729 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -252,7 +252,10 @@ int main(int argc, char *argv[]) {
 
 			if (i < binds) {
 				int sock = accept(event.ptr[i].fd, NULL, NULL);
-				if (sock < 0) err(EX_IOERR, "accept");
+				if (sock < 0) {
+					warn("accept");
+					continue;
+				}
 
 				int yes = 1;
 				error = setsockopt(