diff options
author | Günther Deschner <gd@samba.org> | 2008-02-16 14:02:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-16 14:26:51 +0100 |
commit | 9416ec9e54f69a5bdf303f1c5551e4de138b6c08 (patch) | |
tree | 499ee027234e77dd7be304429792e77cc21198cc /source3/librpc/gen_ndr | |
parent | 0e70c5eea86138f24452db80e39a8d1d1b505c33 (diff) | |
download | samba-9416ec9e54f69a5bdf303f1c5551e4de138b6c08.tar.gz samba-9416ec9e54f69a5bdf303f1c5551e4de138b6c08.tar.bz2 samba-9416ec9e54f69a5bdf303f1c5551e4de138b6c08.zip |
Add generated ndr_eventlog leftover produced by recent pidl changes.
Guenther
(This used to be commit 0efaf76eecacd26edbc6e020230159eb5dd44b15)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_eventlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/ndr_eventlog.c b/source3/librpc/gen_ndr/ndr_eventlog.c index c6a77c54e5..1b58eb66b8 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.c +++ b/source3/librpc/gen_ndr/ndr_eventlog.c @@ -878,7 +878,7 @@ static enum ndr_err_code ndr_pull_eventlog_ReadEventLogW(struct ndr_pull *ndr, i return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range"); } NDR_PULL_ALLOC_N(ndr, r->out.data, r->in.number_of_bytes); - memset(r->out.data, 0, r->in.number_of_bytes * sizeof(*r->out.data)); + memset(r->out.data, 0, (r->in.number_of_bytes) * sizeof(*r->out.data)); NDR_PULL_ALLOC(ndr, r->out.sent_size); ZERO_STRUCTP(r->out.sent_size); NDR_PULL_ALLOC(ndr, r->out.real_size); |