summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-01-08 22:58:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:54 -0500
commitdc0dde70d8a310f2897a22643d8da2b53bfd5910 (patch)
tree41250a876ab3dd0651a3387f46c3a79cf826ef2a /source4
parente0dc53cf091e45873f6a5b32de5d8572eaa8f215 (diff)
downloadsamba-dc0dde70d8a310f2897a22643d8da2b53bfd5910.tar.gz
samba-dc0dde70d8a310f2897a22643d8da2b53bfd5910.tar.bz2
samba-dc0dde70d8a310f2897a22643d8da2b53bfd5910.zip
r12783: add a comment about matching more than 1 handler per message (andrew
thought this might be a bug) (This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/messaging/messaging.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index ea345ff881..aa2fe0b150 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -117,6 +117,10 @@ static char *messaging_path(struct messaging_context *msg, uint32_t server_id)
/*
dispatch a fully received message
+
+ note that this deliberately can match more than one message handler
+ per message. That allows a single messasging context to register
+ (for example) a debug handler for more than one piece of code
*/
static void messaging_dispatch(struct messaging_context *msg, struct messaging_rec *rec)
{