summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-21 07:35:07 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-22 12:37:32 +0100
commitcf53e48fecf2a4410ff641eb6e0edd8578cccb15 (patch)
tree5ee3a025bca600f4aeb0605b86cccd3ce34536ab /source3
parent4d413381a2496a4d73e4d406efbfd68c28fee3b4 (diff)
downloadsamba-cf53e48fecf2a4410ff641eb6e0edd8578cccb15.tar.gz
samba-cf53e48fecf2a4410ff641eb6e0edd8578cccb15.tar.bz2
samba-cf53e48fecf2a4410ff641eb6e0edd8578cccb15.zip
s3:winbindd: we don't need to call message_dispatch() anymore it's event triggered now
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd.c6
-rw-r--r--source3/winbindd/winbindd_dual.c4
2 files changed, 0 insertions, 10 deletions
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 */
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 2a85f6e0d4..c320e96746 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;