From a950242143f465ffede6d2c88fae043107a92c5a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 13 Jan 2009 14:43:46 +0100 Subject: s3-rpcclient: always parse the full eventlog entry. Guenther --- source3/rpcclient/cmd_eventlog.c | 6 +++--- 1 file 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; -- cgit