From 4d26d86195c7db9b22d080bb54e2371bb8c5511d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 30 Jan 2003 04:01:21 +0000 Subject: The REQ_DEBUGLEVEL message returns a string not a list of integers. (This used to be commit 08050a93d9c5b2276c4eaf933974607cf11a1876) --- source3/utils/smbcontrol.c | 5 +---- 1 file changed, 1 insertion(+), 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; } -- cgit