summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-03-09 23:54:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:56:53 -0500
commit716798c06fe5b0f315ff8b9a46968efcab32e73c (patch)
tree95a474582441415d50ca2ff43fe1e054dfd39ad0 /source4/librpc/rpc
parent7f2491a54b3bd3c168103f991a160dbf63f7fff3 (diff)
downloadsamba-716798c06fe5b0f315ff8b9a46968efcab32e73c.tar.gz
samba-716798c06fe5b0f315ff8b9a46968efcab32e73c.tar.bz2
samba-716798c06fe5b0f315ff8b9a46968efcab32e73c.zip
r14125: Fix incorrect declaration caught on build farm.
rafal (This used to be commit 93358e7d9e08bb77641c1b9a47448eb0a4dac587)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index d314a3b3de..5ca067a09f 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -851,6 +851,7 @@ struct composite_context *dcerpc_epm_map_binding_send(TALLOC_CTX *mem_ctx,
struct composite_context *c;
struct epm_map_binding_state *s;
struct composite_context *pipe_connect_req;
+ struct cli_credentials *anon_creds;
NTSTATUS status;
struct dcerpc_binding *epmapper_binding;
@@ -870,7 +871,7 @@ struct composite_context *dcerpc_epm_map_binding_send(TALLOC_CTX *mem_ctx,
s->binding = binding;
s->table = table;
- struct cli_credentials *anon_creds = cli_credentials_init(mem_ctx);
+ anon_creds = cli_credentials_init(mem_ctx);
cli_credentials_set_conf(anon_creds);
cli_credentials_set_anonymous(anon_creds);