freebsd-ports/net-mgmt/nagios4/files/patch-lib_nsock.c
Mathieu Arnold cd66fda28d Revert the update to 4.2.
It currently exits with a bus error, which is, not good.

Reported by:	many
Sponsored by:	Absolight
2016-08-23 14:36:01 +00:00

11 lines
264 B
C

--- lib/nsock.c.orig 2014-08-12 15:00:01 UTC
+++ lib/nsock.c
@@ -81,7 +81,7 @@ int nsock_unix(const char *path, unsigne
if(flags & NSOCK_UDP)
return sock;
- if(listen(sock, 3) < 0) {
+ if(listen(sock, 48) < 0) {
close(sock);
return NSOCK_ELISTEN;
}