diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-11-26 07:53:33 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-11-26 07:53:33 +0000 |
commit | fc93f4f403a5160a4bd0e365b2312f32198598c8 (patch) | |
tree | 5062b1deb850f02eac38c98f858c38db2399d1f0 /source3/libsmb | |
parent | f1db6a0c6cb6898699426700a10721acc4ad4407 (diff) | |
download | samba-fc93f4f403a5160a4bd0e365b2312f32198598c8.tar.gz samba-fc93f4f403a5160a4bd0e365b2312f32198598c8.tar.bz2 samba-fc93f4f403a5160a4bd0e365b2312f32198598c8.zip |
Fix --enable-developer shadow warning
(This used to be commit 6a919bcf3d5848e09ddba1e8946f985661af8f67)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clierror.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index fe793d4b0e..e4d931b965 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -67,7 +67,7 @@ static char *cli_smb_errstr(struct cli_state *cli) char *cli_errstr(struct cli_state *cli) { - static fstring error_message; + static fstring cli_error_message; uint32 flgs2 = SVAL(cli->inbuf,smb_flg2), errnum; uint8 errclass; int i; @@ -93,10 +93,10 @@ char *cli_errstr(struct cli_state *cli) } } - slprintf(error_message, sizeof(error_message) - 1, "code %d", + slprintf(cli_error_message, sizeof(cli_error_message) - 1, "code %d", cli->rap_error); - return error_message; + return cli_error_message; } |