summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 5e7072c2b4..8a696e0c26 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -298,12 +298,16 @@ void message_dispatch(void)
size_t len;
struct dispatch_fns *dfn;
- if (!received_signal) return;
+ if (!received_signal)
+ return;
+
+ DEBUG(10,("message_dispatch: received_signal = %d\n", received_signal));
received_signal = 0;
while (message_recv(&msg_type, &src, &buf, &len)) {
for (dfn = dispatch_fns; dfn; dfn = dfn->next) {
if (dfn->msg_type == msg_type) {
+ DEBUG(10,("message_dispatch: processing message of type %d.\n", msg_type));
dfn->fn(msg_type, src, buf, len);
}
}