summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-13 14:43:46 +0100
committerGünther Deschner <gd@samba.org>2009-01-14 10:18:14 +0100
commita950242143f465ffede6d2c88fae043107a92c5a (patch)
tree781e09f0cc6263cdc7e0762e5d09660eb987fad8 /source3
parentdf8b7248191737dcc1ec5ce2d892fba76438817b (diff)
downloadsamba-a950242143f465ffede6d2c88fae043107a92c5a.tar.gz
samba-a950242143f465ffede6d2c88fae043107a92c5a.tar.bz2
samba-a950242143f465ffede6d2c88fae043107a92c5a.zip
s3-rpcclient: always parse the full eventlog entry.
Guenther
Diffstat (limited to 'source3')
-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;