summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_eventlog.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 10:44:00 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 10:44:00 +0100
commitab66165cfe3e6bc673dfa285a3e03c2239e99442 (patch)
tree41de6f9dbfcae0788699f427d84544353dc712c8 /source3/librpc/gen_ndr/srv_eventlog.c
parentaa6c98f5db1b4a6c5a3063081aa1df27f67aae21 (diff)
downloadsamba-ab66165cfe3e6bc673dfa285a3e03c2239e99442.tar.gz
samba-ab66165cfe3e6bc673dfa285a3e03c2239e99442.tar.bz2
samba-ab66165cfe3e6bc673dfa285a3e03c2239e99442.zip
Re-run make idl.
Guenther (This used to be commit ff6fb5de32ee81efc88d8c15f13c302e21790eee)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_eventlog.c')
-rw-r--r--source3/librpc/gen_ndr/srv_eventlog.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_eventlog.c b/source3/librpc/gen_ndr/srv_eventlog.c
index d9310a8fbb..fc94993cee 100644
--- a/source3/librpc/gen_ndr/srv_eventlog.c
+++ b/source3/librpc/gen_ndr/srv_eventlog.c
@@ -418,6 +418,13 @@ static bool api_eventlog_GetOldestRecord(pipes_struct *p)
NDR_PRINT_IN_DEBUG(eventlog_GetOldestRecord, r);
}
+ ZERO_STRUCT(r->out);
+ r->out.oldest_entry = talloc_zero(r, uint32_t);
+ if (r->out.oldest_entry == NULL) {
+ talloc_free(r);
+ return false;
+ }
+
r->out.result = _eventlog_GetOldestRecord(p, r);
if (p->rng_fault_state) {