diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-12-21 11:12:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-12-21 11:12:59 +0000 |
commit | bc0be36fe796605d98b831f1987e8e4996709288 (patch) | |
tree | 46c89d3c5477b787dcfa4e2b1741f4779f64862a /net-mgmt/nagios4/files/patch-lib_iobroker.c | |
parent | Update to 2.1.4. (diff) |
Update to 4.2.4.
Reported by: portscout
Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/nagios4/files/patch-lib_iobroker.c')
-rw-r--r-- | net-mgmt/nagios4/files/patch-lib_iobroker.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/net-mgmt/nagios4/files/patch-lib_iobroker.c b/net-mgmt/nagios4/files/patch-lib_iobroker.c deleted file mode 100644 index 9c63a5050062..000000000000 --- a/net-mgmt/nagios4/files/patch-lib_iobroker.c +++ /dev/null @@ -1,16 +0,0 @@ ---- lib/iobroker.c.orig 2014-08-12 15:00:01 UTC -+++ lib/iobroker.c -@@ -415,11 +415,11 @@ int iobroker_poll(iobroker_set *iobs, in - iobs->pfd[p].events = POLLIN; - p++; - } -- nfds = poll(iobs->pfd, iobs->num_fds, timeout); -+ nfds = poll(iobs->pfd, p, timeout); - if (nfds < 0) { - return IOBROKER_ELIB; - } -- for (i = 0; i < iobs->num_fds; i++) { -+ for (i = 0; i < p; i++) { - iobroker_fd *s; - if ((iobs->pfd[i].revents & POLLIN) != POLLIN) { - continue; |