diff options
author | Jeremy Allison <jra@samba.org> | 2002-07-19 16:45:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-07-19 16:45:37 +0000 |
commit | 5f894476d86fd5a5b453e7043e087714c9e1c6ef (patch) | |
tree | 54a6cf91d0300bf7c3bf2b3befbfa24f6e917b1e /source3/registry | |
parent | af3d6270d7ca17ba85e773634b3a56b0f1f601bf (diff) | |
download | samba-5f894476d86fd5a5b453e7043e087714c9e1c6ef.tar.gz samba-5f894476d86fd5a5b453e7043e087714c9e1c6ef.tar.bz2 samba-5f894476d86fd5a5b453e7043e087714c9e1c6ef.zip |
Formatting fixup. Fix shadow warning.
Jeremy.
(This used to be commit beb298898d5700dcd775ee3b1f1965e67214e9e5)
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_printing.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/registry/reg_printing.c b/source3/registry/reg_printing.c index 8144110d1f..cbeab13142 100644 --- a/source3/registry/reg_printing.c +++ b/source3/registry/reg_printing.c @@ -153,13 +153,13 @@ done: Caller is responsible for freeing memory to **subkey *********************************************************************/ -BOOL printing_subkey_specific( char *key, char** subkey, uint32 index ) +BOOL printing_subkey_specific( char *key, char** subkey, uint32 indx ) { char *path; BOOL top_level = False; BOOL result = False; - DEBUG(10,("printing_subkey_specific: key=>[%s], index=>[%d]\n", key, index)); + DEBUG(10,("printing_subkey_specific: key=>[%s], index=>[%d]\n", key, indx)); path = trim_reg_path( key ); @@ -174,18 +174,18 @@ BOOL printing_subkey_specific( char *key, char** subkey, uint32 index ) /* make sure the index is in range */ - if ( !(index < MAX_TOP_LEVEL_KEYS) ) + if ( !(indx < MAX_TOP_LEVEL_KEYS) ) goto done; - if ( !(*subkey = malloc( strlen(top_level_keys[index])+1 )) ) + if ( !(*subkey = malloc( strlen(top_level_keys[indx])+1 )) ) goto done; - strncpy( *subkey, top_level_keys[index], strlen(top_level_keys[index])+1 ); + strncpy( *subkey, top_level_keys[indx], strlen(top_level_keys[indx])+1 ); result = True; } else { - if ( handle_printing_subpath( path, subkey, index ) != -1 ) + if ( handle_printing_subpath( path, subkey, indx ) != -1 ) result = True; } |