Hi Zoran,
ACK, not tested.
-AVM
On 8/7/2017 8:33 PM, Zoran Milinkovic wrote:
CLM selection object is initially set to -1. Included CLM selection
object in poll will be ignored until CLM selection object is created
and set to fds[FD_CLM].
---
src/imm/immnd/immnd_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/imm/immnd/immnd_main.c b/src/imm/immnd/immnd_main.c
index bca8f80..67759ff 100644
--- a/src/imm/immnd/immnd_main.c
+++ b/src/imm/immnd/immnd_main.c
@@ -303,8 +303,7 @@ int main(int argc, char *argv[])
int maxEvt = 100;
struct timespec start_time;
struct pollfd fds[5];
- int term_fd, nfds = 4;
- ;
+ int term_fd, nfds = 5;
daemonize(argc, argv);
@@ -428,7 +427,6 @@ int main(int argc, char *argv[])
ncs_sel_obj_rmv_ind(&immnd_cb->clm_init_sel_obj,
true, true);
immnd_init_with_clm();
- nfds = 5;
}
if (fds[FD_CLM].revents & POLLIN) {
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel