svn commit: samba r12783 - in branches/SAMBA_4_0/source/lib/messaging: .

tridge at samba.org tridge at samba.org
Sun Jan 8 22:59:00 GMT 2006


Author: tridge
Date: 2006-01-08 22:58:59 +0000 (Sun, 08 Jan 2006)
New Revision: 12783

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12783

Log:

add a comment about matching more than 1 handler per message (andrew
thought this might be a bug)


Modified:
   branches/SAMBA_4_0/source/lib/messaging/messaging.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/messaging/messaging.c
===================================================================
--- branches/SAMBA_4_0/source/lib/messaging/messaging.c	2006-01-08 22:00:57 UTC (rev 12782)
+++ branches/SAMBA_4_0/source/lib/messaging/messaging.c	2006-01-08 22:58:59 UTC (rev 12783)
@@ -117,6 +117,10 @@
 
 /*
   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)
 {



More information about the samba-cvs mailing list