[Nagios-devel] [PATCH 2/2] iobroker.c: Remove invalid union

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] [PATCH 2/2] iobroker.c: Remove invalid union

Post by Guest »


=46rom: Ricardo Jose Maraschini

Removed attribution that got overwritten. epoll_data_t is a=20
typedef of an union.

Signed-off-by: Ricardo Maraschini
---
lib/iobroker.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/iobroker.c b/lib/iobroker.c
index fbd051d..a49b676 100644
--- a/lib/iobroker.c
+++ b/lib/iobroker.c
@@ -204,7 +204,6 @@ static int reg_one(iobroker_set *iobs, int fd, int even=
ts, void *arg, int (*hand
{
struct epoll_event ev;
ev.events =3D events;
- ev.data.ptr =3D arg;
ev.data.fd =3D fd;
if (epoll_ctl(iobs->epfd, EPOLL_CTL_ADD, fd, &ev) < 0) {
return IOBROKER_ELIB;
--=20
1.7.4.1







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ricardo.maraschini@opservices.com.br
Locked