summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r--source3/utils/smbcontrol.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 10ebf019c5..b22f697dd3 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -133,12 +133,9 @@ Prints out the current Debug level returned by MSG_DEBUGLEVEL
void debuglevel_function(int msg_type, pid_t src, void *buf, size_t len)
{
const char *levels = (char *)buf;
- pstring dbgcl;
printf("Current debug levels of PID %u are:\n",(unsigned int)src);
-
- while(next_token(&levels, dbgcl, " ", sizeof(pstring)))
- printf("%s\n", dbgcl);
+ printf("%s\n", levels);
got_level = True;
}