diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-23 14:36:01 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-23 14:36:01 +0000 |
commit | cd66fda28d95013e9d8b2927ddf395bfa95a699f (patch) | |
tree | 445cbb7694891141c82034d9af72f38b6708d194 /net-mgmt/nagios4/files/patch-lib_nsock.c | |
parent | misc/nms: document ncurses, honor CFLAGS and LDFLAGS (diff) |
Revert the update to 4.2.
It currently exits with a bus error, which is, not good.
Reported by: many
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-lib_nsock.c')
-rw-r--r-- | net-mgmt/nagios4/files/patch-lib_nsock.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-lib_nsock.c b/net-mgmt/nagios4/files/patch-lib_nsock.c new file mode 100644 index 000000000000..24d0532373c7 --- /dev/null +++ b/net-mgmt/nagios4/files/patch-lib_nsock.c @@ -0,0 +1,11 @@ +--- 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; + } |