diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-11-25 14:42:24 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-11-26 11:47:42 +0100 |
commit | 49553d066ba346b28286b72f54e5ee8739cbcef2 (patch) | |
tree | ff1a5531da63f886ce5c3e2d1e5db2ee62d8e8c1 /librpc/gen_ndr/cli_srvsvc.c | |
parent | a20e095b1fffb6d690609c924d03cafedbbce8f3 (diff) | |
download | samba-49553d066ba346b28286b72f54e5ee8739cbcef2.tar.gz samba-49553d066ba346b28286b72f54e5ee8739cbcef2.tar.bz2 samba-49553d066ba346b28286b72f54e5ee8739cbcef2.zip |
librpc: rerun "make idl"
metze
Diffstat (limited to 'librpc/gen_ndr/cli_srvsvc.c')
-rw-r--r-- | librpc/gen_ndr/cli_srvsvc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/gen_ndr/cli_srvsvc.c b/librpc/gen_ndr/cli_srvsvc.c index 9b2a507c95..045dd3c5a8 100644 --- a/librpc/gen_ndr/cli_srvsvc.c +++ b/librpc/gen_ndr/cli_srvsvc.c @@ -5044,7 +5044,7 @@ static void rpccli_srvsvc_NetPathCanonicalize_done(struct tevent_req *subreq) } /* Copy out parameters */ - memcpy(state->orig.out.can_path, state->tmp.out.can_path, state->tmp.in.maxbuf * sizeof(*state->orig.out.can_path)); + memcpy(state->orig.out.can_path, state->tmp.out.can_path, (state->tmp.in.maxbuf) * sizeof(*state->orig.out.can_path)); *state->orig.out.pathtype = *state->tmp.out.pathtype; /* Copy result */ @@ -5116,7 +5116,7 @@ NTSTATUS rpccli_srvsvc_NetPathCanonicalize(struct rpc_pipe_client *cli, } /* Return variables */ - memcpy(can_path, r.out.can_path, r.in.maxbuf * sizeof(*can_path)); + memcpy(can_path, r.out.can_path, (r.in.maxbuf) * sizeof(*can_path)); *pathtype = *r.out.pathtype; /* Return result */ |