summaryrefslogtreecommitdiff
path: root/libcli/named_pipe_auth
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-05-04 08:50:35 -0700
committerTim Prouty <tprouty@samba.org>2009-05-04 08:52:26 -0700
commit032bb807c70a442f539c5321c2a903461f83ac54 (patch)
tree727fb34d596c068ad7c6ad9e2990165d41ba9429 /libcli/named_pipe_auth
parente46a88ce35e1aba9d9a344773bc97a9f3f2bd616 (diff)
downloadsamba-032bb807c70a442f539c5321c2a903461f83ac54.tar.gz
samba-032bb807c70a442f539c5321c2a903461f83ac54.tar.bz2
samba-032bb807c70a442f539c5321c2a903461f83ac54.zip
libcli: Fix shadowed variable warning
Diffstat (limited to 'libcli/named_pipe_auth')
-rw-r--r--libcli/named_pipe_auth/npa_tstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c
index c1a293eac4..57e841860c 100644
--- a/libcli/named_pipe_auth/npa_tstream.c
+++ b/libcli/named_pipe_auth/npa_tstream.c
@@ -63,7 +63,7 @@ struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx,
const char *directory,
const char *npipe,
const struct tsocket_address *client,
- const char *client_name,
+ const char *client_name_in,
const struct tsocket_address *server,
const char *server_name,
const struct netr_SamInfo3 *info3,
@@ -119,7 +119,7 @@ struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx,
state->auth_req.level = 2;
info2 = &state->auth_req.info.info2;
- info2->client_name = client_name;
+ info2->client_name = client_name_in;
info2->client_addr = tsocket_address_inet_addr_string(client, state);
if (!info2->client_addr) {
/* errno might be EINVAL */