[trivial PATCH 02/22] [event.c] eliminate build warnings
1 Feb
2010
1 Feb
'10
12:23 p.m.
Signed-off-by: Wang Tinggong <wangtinggong@gmail.com> --- src/lib/event.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lib/event.c b/src/lib/event.c index 84a928b..6f91661 100644 --- a/src/lib/event.c +++ b/src/lib/event.c @@ -322,13 +322,13 @@ int fr_event_loop(fr_event_list_t *el) el->exit = 0; el->dispatch = 1; el->changed = 1; + maxfd = 0; while (!el->exit) { /* * Cache the list of FD's to watch. */ if (el->changed) { - maxfd = 0; FD_ZERO(&master_fds); for (i = 0; i < el->max_readers; i++) { -- 1.6.0.6
6001
Age (days ago)
6001
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wang Tinggong