From dc0dde70d8a310f2897a22643d8da2b53bfd5910 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 8 Jan 2006 22:58:59 +0000 Subject: 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) --- source4/lib/messaging/messaging.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4') 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) { -- cgit