diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index d9a39b1249..4778274ca9 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -2477,7 +2477,6 @@ net_share_enum_rpc(struct cli_state *cli, int i; NTSTATUS result; uint32 enum_hnd; - uint32 *penum_hnd = &enum_hnd; uint32 info_level = 1; uint32 preferred_len = 0xffffffff; struct srvsvc_NetShareCtr1 ctr1; @@ -2509,7 +2508,7 @@ net_share_enum_rpc(struct cli_state *cli, enum_hnd = 0; result = rpccli_srvsvc_NetShareEnum(pipe_hnd, mem_ctx, NULL, &info_level, &ctr, preferred_len, - &numentries, &penum_hnd); + &numentries, &enum_hnd); /* Was it successful? */ if (!NT_STATUS_IS_OK(result) || numentries == 0) { |