summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-12 01:22:33 +0000
committerTim Potter <tpot@samba.org>2003-02-12 01:22:33 +0000
commite63fc878d9006dabfca6571e9f082d66f05ede30 (patch)
treef03a264aab1db1b213c0b0ec3a6924f9b25d696e /source3
parenta68de8f42c305d4e77df2072dcd9ae470d32efbf (diff)
downloadsamba-e63fc878d9006dabfca6571e9f082d66f05ede30.tar.gz
samba-e63fc878d9006dabfca6571e9f082d66f05ede30.tar.bz2
samba-e63fc878d9006dabfca6571e9f082d66f05ede30.zip
Merge of smbcontrol debuglevel fixes from HEAD.
(This used to be commit 77ae3360e36e460f9a0f3f3e198951e575a247cf)
Diffstat (limited to 'source3')
-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 8b5909e77a..d622edd69f 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;
}