summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_eventlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_eventlog.c')
-rw-r--r--source3/rpcclient/cmd_eventlog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_eventlog.c b/source3/rpcclient/cmd_eventlog.c
index 2dcb72a04f..a8373f466d 100644
--- a/source3/rpcclient/cmd_eventlog.c
+++ b/source3/rpcclient/cmd_eventlog.c
@@ -109,9 +109,9 @@ static NTSTATUS cmd_eventlog_readlog(struct rpc_pipe_client *cli,
blob = data_blob_const(data, sent_size);
- ndr_err = ndr_pull_struct_blob(&blob, mem_ctx, NULL,
- &rec,
- (ndr_pull_flags_fn_t)ndr_pull_eventlog_Record);
+ ndr_err = ndr_pull_struct_blob_all(&blob, mem_ctx, NULL,
+ &rec,
+ (ndr_pull_flags_fn_t)ndr_pull_eventlog_Record);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
status = ndr_map_error2ntstatus(ndr_err);
goto done;