diff options
author | Jeremy Allison <jra@samba.org> | 2001-02-13 16:28:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-02-13 16:28:48 +0000 |
commit | da20d4e5df3c908cc00bf31570892fa5f19853e7 (patch) | |
tree | 5e4b59ca754f52845989f62ad25f08233b206ad4 /source3/lib | |
parent | 3d528fef2f75e0cb8d7812e164d249226e889f80 (diff) | |
download | samba-da20d4e5df3c908cc00bf31570892fa5f19853e7.tar.gz samba-da20d4e5df3c908cc00bf31570892fa5f19853e7.tar.bz2 samba-da20d4e5df3c908cc00bf31570892fa5f19853e7.zip |
It compiles for me now :-). rpc_server/srv_lsa.c - added fix to allow w2k
clients to join a Samba domain - odd or even domain name length. Needs more testing.
Jeremy.
(This used to be commit 408672d38261e34cc3714200617b35464d88f931)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/debug.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index e7772bbd38..119292b781 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -135,9 +135,9 @@ char *classname_table[] = { /**************************************************************************** utility access to debug class names's ****************************************************************************/ -char* debug_classname_from_index(int idx) +char* debug_classname_from_index(int ndx) { - return classname_table[idx]; + return classname_table[ndx]; } /**************************************************************************** @@ -162,7 +162,7 @@ parse the debug levels from smbcontrol. Example debug level parameter: ****************************************************************************/ BOOL debug_parse_params(char **params, int *debuglevel_class) { - int i, idx; + int i, ndx; char *class_name; char *class_level; @@ -183,8 +183,8 @@ BOOL debug_parse_params(char **params, int *debuglevel_class) for (; i < DBGC_LAST && params[i]; i++) { if ((class_name=strtok(params[i],":")) && (class_level=strtok(NULL, "\0")) && - ((idx = debug_lookup_classname(class_name)) != -1)) { - debuglevel_class[idx] = atoi(class_level); + ((ndx = debug_lookup_classname(class_name)) != -1)) { + debuglevel_class[ndx] = atoi(class_level); } else { DEBUG(0,("debug_parse_params: unrecognized debug class name or format [%s]\n", params[i])); return False; @@ -208,7 +208,7 @@ BOOL debug_parse_levels(char *params_str) ZERO_ARRAY(params); ZERO_ARRAY(debuglevel_class); - if ( (params[0]=strtok(params_str," ,")) ) { + if ((params[0]=strtok(params_str," ,"))) { for (i=1; i<DBGC_LAST;i++) { if ((params[i]=strtok(NULL," ,"))==NULL) break; |