summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-16 15:42:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:11 -0500
commit580f2a7197b1bc9db14a643fdd112b40ef37aaef (patch)
tree9f86ec0cb02c1dc1f6822bde961f4665f0ffbf0e /source/client
parent8284396faffbe0f58741ecacd62ba86e3ca645c6 (diff)
downloadsamba-580f2a7197b1bc9db14a643fdd112b40ef37aaef.tar.gz
samba-580f2a7197b1bc9db14a643fdd112b40ef37aaef.tar.xz
samba-580f2a7197b1bc9db14a643fdd112b40ef37aaef.zip
r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again.
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 3b153a7e04c..8109dea37d8 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -2788,7 +2788,6 @@ static BOOL browse_host_rpc(BOOL sort)
struct rpc_pipe_client *pipe_hnd;
TALLOC_CTX *mem_ctx;
uint32 enum_hnd = 0;
- uint32 *penum_hnd = &enum_hnd;
struct srvsvc_NetShareCtr1 ctr1;
union srvsvc_NetShareCtr ctr;
int i;
@@ -2816,7 +2815,7 @@ static BOOL browse_host_rpc(BOOL sort)
status = rpccli_srvsvc_NetShareEnum(pipe_hnd, mem_ctx, "", &level,
&ctr, 0xffffffff, &numentries,
- &penum_hnd);
+ &enum_hnd);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(mem_ctx);