git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23ca540
)
Merge of smbcontrol debuglevel fixes from HEAD.
author
Tim Potter
<tpot@samba.org>
Wed, 12 Feb 2003 01:22:33 +0000
(
01:22
+0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 12 Feb 2003 01:22:33 +0000
(
01:22
+0000)
source/utils/smbcontrol.c
patch
|
blob
|
history
diff --git
a/source/utils/smbcontrol.c
b/source/utils/smbcontrol.c
index 8b5909e77a2863e59160f12fccad560c222b24e7..d622edd69fd0e93e477aa756e8eb99375d99e2e4 100644
(file)
--- a/
source/utils/smbcontrol.c
+++ b/
source/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;
}