diff options
author | beech <beech@FreeBSD.org> | 2008-03-16 14:22:20 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2008-03-16 14:22:20 +0800 |
commit | aadf7ad56c4351af342d1d107b6729ea717b6e43 (patch) | |
tree | 95c6c01db250ccc516204699edfd7e3cbc0fe956 /net-mgmt/zabbix | |
parent | eecc557343421f329c0f9ab1db0469dc45943643 (diff) | |
download | freebsd-ports-gnome-aadf7ad56c4351af342d1d107b6729ea717b6e43.tar.gz freebsd-ports-gnome-aadf7ad56c4351af342d1d107b6729ea717b6e43.tar.zst freebsd-ports-gnome-aadf7ad56c4351af342d1d107b6729ea717b6e43.zip |
- Fix issue "ZBX_TCP_READ() failed [Interrupted system call]"
PR: ports/121737
Submitted by: Dmitry Lohansky <sq@tvfaq.ru> (maintainer)
Diffstat (limited to 'net-mgmt/zabbix')
-rw-r--r-- | net-mgmt/zabbix/files/patch-src_libs_zbxcomms_comms.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/zabbix/files/patch-src_libs_zbxcomms_comms.c b/net-mgmt/zabbix/files/patch-src_libs_zbxcomms_comms.c new file mode 100644 index 000000000000..b3e23c432dd3 --- /dev/null +++ b/net-mgmt/zabbix/files/patch-src_libs_zbxcomms_comms.c @@ -0,0 +1,11 @@ +--- src/libs/zbxcomms/comms.c.orig 2007-12-17 04:18:59.000000000 -0900 ++++ src/libs/zbxcomms/comms.c 2008-03-15 21:38:41.000000000 -0800 +@@ -698,7 +698,7 @@ + + for(i = 0; i < s->num_socks; i++) { + #if !defined(_WINDOWS) +- if(s->sockets[i] > n) ++ if(s->sockets[i] + 1 > n) + n = s->sockets[i] + 1; + #endif + if(FD_ISSET(s->sockets[i], &sock_set)) |