summaryrefslogtreecommitdiffstats
path: root/source/lib/debug.c
diff options
context:
space:
mode:
authorDarshan Purandare <dpurandare@isilon.com>2008-07-01 11:37:13 -0700
committerJeremy Allison <jra@samba.org>2008-07-01 17:52:24 -0700
commitcfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6 (patch)
treea14f270ecb84af4614daee042aaa8c17459d3812 /source/lib/debug.c
parent80e547665d104a6db376ff4c48bcc01dfd3513ee (diff)
downloadsamba-cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6.tar.gz
samba-cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6.tar.xz
samba-cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6.zip
MSG_DEBUG now forwarded to all the winbindd children by parent.
smbcontrol winbindd debug level would only set the debug level of the parent winbindd process and not the child processes. This patch adds the functionality of broadcasting the debug message to all winbindd children. Now the debug level message is propagated to all the winbindd processes that includes parent and children.
Diffstat (limited to 'source/lib/debug.c')
-rw-r--r--source/lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c
index a76a8dbf539..2ded6bdc333 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -476,7 +476,7 @@ bool debug_parse_levels(const char *params_str)
Receive a "set debug level" message.
****************************************************************************/
-static void debug_message(struct messaging_context *msg_ctx,
+void debug_message(struct messaging_context *msg_ctx,
void *private_data,
uint32_t msg_type,
struct server_id src,