From 2d64b9880744746d4317d9da45c575b3a8fbbed1 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 11 Jun 2002 22:54:06 +0000 Subject: few fixes from Elrond(elrond@samba-tng.org) and Billy O'Connor(billy@oconnoronline.net) (This used to be commit 88718883e031a3249152861300432dfc895ac587) --- source3/lib/debug.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 1b2f9ac350..834c1b38f7 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -150,10 +150,11 @@ static const char *default_classname_table[] = { "lanman", /* DBGC_LANMAN */ "smb", /* DBGC_SMB */ "rpc", /* DBGC_RPC */ - "rpc_hdr", /* DBGC_RPC_HDR */ + "rpc_srv", /* DBGC_RPC_SRV */ + "rpc_cli", /* DBGC_RPC_CLI */ "passdb", /* DBGC_PASSDB */ "auth", /* DBGC_AUTH */ - "bdc", /* DBGC_BDC */ + "winbind", /* DBGC_WINBIND */ NULL }; @@ -171,7 +172,7 @@ utility lists registered debug class names's #define MAX_CLASS_NAME_SIZE 1024 -char *debug_list_class_names_and_levels(void) +static char *debug_list_class_names_and_levels(void) { int i, dim; char **list; @@ -416,8 +417,11 @@ BOOL debug_parse_levels(const char *params_str) { char **params; + /* Just in case */ + debug_init(); + if (AllowDebugChange == False) - return True; + return True; params = lp_list_make(params_str); -- cgit