git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1db6a0
)
Fix --enable-developer shadow warning
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 26 Nov 2001 07:53:33 +0000
(07:53 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 26 Nov 2001 07:53:33 +0000
(07:53 +0000)
(This used to be commit
6a919bcf3d5848e09ddba1e8946f985661af8f67
)
source3/libsmb/clierror.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clierror.c
b/source3/libsmb/clierror.c
index fe793d4b0e36425ad0bc743bfec37a7986be44f0..e4d931b965e115b029227ac7a756734cd29d6516 100644
(file)
--- 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;
}