mirror of
https://github.com/samba-team/samba.git
synced 2025-11-19 04:23:48 +03:00
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.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8284396faf
commit
580f2a7197
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user