diff options
author | Tim Potter <tpot@samba.org> | 2003-01-30 04:01:21 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-01-30 04:01:21 +0000 |
commit | 4d26d86195c7db9b22d080bb54e2371bb8c5511d (patch) | |
tree | 937375234a6c6adc2737bfb19dd21dae7f4aa374 | |
parent | 0310697963dd248504d1bf4c0bd4d98a5086bb14 (diff) | |
download | samba-4d26d86195c7db9b22d080bb54e2371bb8c5511d.tar.gz samba-4d26d86195c7db9b22d080bb54e2371bb8c5511d.tar.bz2 samba-4d26d86195c7db9b22d080bb54e2371bb8c5511d.zip |
The REQ_DEBUGLEVEL message returns a string not a list of integers.
(This used to be commit 08050a93d9c5b2276c4eaf933974607cf11a1876)
-rw-r--r-- | source3/utils/smbcontrol.c | 5 |
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; } |