From: Stefan Metzmacher Date: Wed, 21 Jan 2009 06:35:07 +0000 (+0100) Subject: s3:winbindd: we don't need to call message_dispatch() anymore it's event triggered now X-Git-Tag: samba-4.0.0alpha7~424^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf53e48fecf2a4410ff641eb6e0edd8578cccb15;p=thirdparty%2Fsamba.git s3:winbindd: we don't need to call message_dispatch() anymore it's event triggered now metze --- diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 0bdc75ccd48..fad27ea224f 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 */ diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 2a85f6e0d4e..c320e967469 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1384,10 +1384,6 @@ static bool fork_domain_child(struct winbindd_child *child) winbind_check_sighup(override_logfile ? NULL : child->logfilename); - /* Handle messages */ - - message_dispatch(winbind_messaging_context()); - if (run_events(winbind_event_context(), 0, NULL, NULL)) { TALLOC_FREE(frame); continue;