[PATCH 2/2] iobroker.c: Remove invalid union attribution

Ricardo Jose Maraschini ricardo.maraschini at opservices.com.br
Thu Dec 13 17:30:46 CET 2012

From: Ricardo Jose Maraschini <ricardo.maraschini at opservices.com.br>

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

Signed-off-by: Ricardo Maraschini <ricardo.maraschini at opservices.com.br>
 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 events, void *arg, int (*hand
 		struct epoll_event ev;
 		ev.events = events;
-		ev.data.ptr = arg;
 		ev.data.fd = fd;
 		if (epoll_ctl(iobs->epfd, EPOLL_CTL_ADD, fd, &ev) < 0) {
 			return IOBROKER_ELIB;

LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers

More information about the Developers mailing list