diff options
-rw-r--r-- | source3/lib/messages.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcontrol.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 6cb7507c0f..38d5e4af92 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -95,7 +95,7 @@ void debuglevel_message(int msg_type, pid_t src, void *buf, size_t len) char *debug_level_classes; DEBUG(1,("INFO: Received REQ_DEBUGLEVEL message from PID %u\n",(unsigned int)src)); - if (debug_level_classes = debug_list_class_names_and_levels()) { + if ((debug_level_classes = debug_list_class_names_and_levels())) { /*{ debug_level_classes = "test:1000";*/ message_send_pid(src, MSG_DEBUGLEVEL, debug_level_classes, strlen(debug_level_classes) + 1, True); SAFE_FREE(debug_level_classes); diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 5cb4e4febb..1a8b1a6ada 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -106,7 +106,6 @@ Prints out the current Debug level returned by MSG_DEBUGLEVEL ****************************************************************************/ void debuglevel_function(int msg_type, pid_t src, void *buf, size_t len) { - int i; char *levels = (char *)buf; pstring dbgcl; |