s3:winbindd: we don't need to call message_dispatch() anymore it's event triggered now
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Jan 2009 06:35:07 +0000 (07:35 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 Jan 2009 11:37:32 +0000 (12:37 +0100)
metze

source3/winbindd/winbindd.c
source3/winbindd/winbindd_dual.c

index 0bdc75ccd48becc68be0c4fda673aab6e1d21935..fad27ea224f4b4a7fc6329e74c303100f536cd0d 100644 (file)
@@ -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 */
index 2a85f6e0d4e62e23a6e3c96e48bf9b12cce84f00..c320e967469bee1b437fdc3ae408a0b3c78bfdd5 100644 (file)
@@ -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;