diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-19 18:57:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:56 -0500 |
commit | 01367cdfd03d2412904c57807e1ff3c62696d05f (patch) | |
tree | b887c607396a74e52fe65477b92982407729c995 /source3/client | |
parent | 3372adce58070febd728ee0f941e48d69acc40b4 (diff) | |
download | samba-01367cdfd03d2412904c57807e1ff3c62696d05f.tar.gz samba-01367cdfd03d2412904c57807e1ff3c62696d05f.tar.bz2 samba-01367cdfd03d2412904c57807e1ff3c62696d05f.zip |
r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 4e4e8977de..3b153a7e04 100644 --- a/source3/client/client.c +++ b/source3/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); |