summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-19 18:57:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:56 -0500
commitbc4e0a388a2859d2ddcfb8f07920f3b121a37894 (patch)
treed2761310a5ddd984f233208e40045aba7d0f1acd /source/client
parent2efd3b35097a780ce99abad8a10eca536f37fc26 (diff)
downloadsamba-bc4e0a388a2859d2ddcfb8f07920f3b121a37894.tar.gz
samba-bc4e0a388a2859d2ddcfb8f07920f3b121a37894.tar.xz
samba-bc4e0a388a2859d2ddcfb8f07920f3b121a37894.zip
r19797: Convert the remaining pipes to the "new" unique out ptr handling
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 4e4e8977dec..3b153a7e04c 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -2788,6 +2788,7 @@ 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;
@@ -2813,8 +2814,9 @@ static BOOL browse_host_rpc(BOOL sort)
level = 1;
ctr.ctr1 = &ctr1;
- status = rpccli_srvsvc_NetShareEnum(pipe_hnd, mem_ctx, "", &level, &ctr,
- 0xffffffff, &numentries, &enum_hnd);
+ status = rpccli_srvsvc_NetShareEnum(pipe_hnd, mem_ctx, "", &level,
+ &ctr, 0xffffffff, &numentries,
+ &penum_hnd);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(mem_ctx);