diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-01-08 22:58:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:54 -0500 |
commit | dc0dde70d8a310f2897a22643d8da2b53bfd5910 (patch) | |
tree | 41250a876ab3dd0651a3387f46c3a79cf826ef2a | |
parent | e0dc53cf091e45873f6a5b32de5d8572eaa8f215 (diff) | |
download | samba-dc0dde70d8a310f2897a22643d8da2b53bfd5910.tar.gz samba-dc0dde70d8a310f2897a22643d8da2b53bfd5910.tar.xz 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)
-rw-r--r-- | source4/lib/messaging/messaging.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index ea345ff8817..aa2fe0b1506 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) { |