debug output on receipt of message.
authorMartin Pool <mbp@samba.org>
Thu, 3 Jan 2002 03:35:02 +0000 (03:35 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 3 Jan 2002 03:35:02 +0000 (03:35 +0000)
(This used to be commit 6bd5b7ce8ec54faefcf129fcc98cc4440bb355d6)

source3/lib/messages.c

index 923005de710db17da905cc370e7c323f337a5a14..5561127410cf37b4e7205bba2b023e0c1a21d581 100644 (file)
@@ -322,6 +322,8 @@ void message_dispatch(void)
        received_signal = 0;
 
        while (message_recv(&msg_type, &src, &buf, &len)) {
        received_signal = 0;
 
        while (message_recv(&msg_type, &src, &buf, &len)) {
+               DEBUG(10,("message_dispatch: received msg_type=%d src_pid=%d\n",
+                         msg_type, (int) src));
                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));
                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));