set fd_num properly
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 26 Feb 2009 16:28:19 +0000 (16:28 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 26 Feb 2009 16:28:19 +0000 (16:28 +0000)
org.glite.lb.client/src/notification.c

index 242b2eb..5cc8348 100644 (file)
@@ -585,7 +585,7 @@ int edg_wll_NotifReceive(
 
 /* NotifReceive */
 {
-       int                     i, j, ret, fd_num;
+       int                     i, j, ret, fd_num = ctx->connNotif->connOpened + 1;
        struct _fd_map {
                struct pollfd   pollfds[fd_num];
                int             index[fd_num];