summary refs log tree commit diff
path: root/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.c')
-rw-r--r--dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dispatch.c b/dispatch.c
index 1396f66..28a4d00 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -228,7 +228,7 @@ int main(int argc, char *argv[]) {
 #endif
 
 	for (size_t i = 0; i < binds; ++i) {
-		error = listen(event.ptr[i].fd, 1);
+		error = listen(event.ptr[i].fd, -1);
 		if (error) err(EX_IOERR, "listen");
 	}