author | Alberto Bertogli
<albertito@gmail.com> 2007-08-09 07:37:17 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-08-09 07:37:17 UTC |
parent | b450b7cb0fccf5fb04d2bfd9b9019004797577a0 |
nmdb/net.c | +7 | -2 |
diff --git a/nmdb/net.c b/nmdb/net.c index e4772ea..1145705 100644 --- a/nmdb/net.c +++ b/nmdb/net.c @@ -87,8 +87,13 @@ void net_loop(void) event_dispatch(); - event_del(&tipc_evt); - event_del(&tcp_evt); + if (ENABLE_TIPC) + event_del(&tipc_evt); + if (ENABLE_TCP) + event_del(&tcp_evt); + if (ENABLE_UDP) + event_del(&udp_evt); + signal_del(&sigterm_evt); signal_del(&sigint_evt); signal_del(&sigusr2_evt);