From 048f8dba141c2f9898aad67e09925f03394a946e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 20 Jan 2009 04:14:20 +0100 Subject: s3: always call run_events() before and after sys_select() And always setup the fd events. metze --- source3/winbindd/winbindd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/winbindd/winbindd.c') diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 821812925c..0bdc75ccd4 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -980,6 +980,8 @@ static void process_loop(void) no_fds_ready: + run_events(winbind_event_context(), selret, &r_fds, &w_fds); + #if 0 winbindd_check_cache_size(time(NULL)); #endif -- cgit From cf53e48fecf2a4410ff641eb6e0edd8578cccb15 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 21 Jan 2009 07:35:07 +0100 Subject: s3:winbindd: we don't need to call message_dispatch() anymore it's event triggered now metze --- source3/winbindd/winbindd.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/winbindd/winbindd.c') diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 0bdc75ccd4..fad27ea224 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -840,12 +840,6 @@ static void process_loop(void) exit(1); } - /* We'll be doing this a lot */ - - /* Handle messages */ - - message_dispatch(winbind_messaging_context()); - run_events(winbind_event_context(), 0, NULL, NULL); /* refresh the trusted domain cache */ -- cgit