summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 11:52:30 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 11:52:30 +0100
commitba9cae9da445778f6304443482704bc30b8f9501 (patch)
treeef6d6da0c41f7aee40db34059ea886c81ee068af /source3/librpc/gen_ndr
parenta31829ffcd7e768484122094a3bde60fb6d1f44e (diff)
downloadsamba-ba9cae9da445778f6304443482704bc30b8f9501.tar.gz
samba-ba9cae9da445778f6304443482704bc30b8f9501.tar.bz2
samba-ba9cae9da445778f6304443482704bc30b8f9501.zip
Forgot to add this hunk in ndr_pull_eventlog_Record from an earlier commit.
Guenther (This used to be commit 675a17877c3086816e53d87d264adf1fa60d9700)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r--source3/librpc/gen_ndr/ndr_eventlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/ndr_eventlog.c b/source3/librpc/gen_ndr/ndr_eventlog.c
index 442c40bb80..c6a77c54e5 100644
--- a/source3/librpc/gen_ndr/ndr_eventlog.c
+++ b/source3/librpc/gen_ndr/ndr_eventlog.c
@@ -128,9 +128,9 @@ _PUBLIC_ enum ndr_err_code ndr_pull_eventlog_Record(struct ndr_pull *ndr, int nd
{
uint32_t _flags_save_string = ndr->flags;
ndr_set_flags(&ndr->flags, LIBNDR_FLAG_STR_NULLTERM);
- NDR_PULL_ALLOC_N(ndr, *r->strings, r->num_of_strings);
+ NDR_PULL_ALLOC_N(ndr, r->strings, r->num_of_strings);
_mem_save_strings_0 = NDR_PULL_GET_MEM_CTX(ndr);
- NDR_PULL_SET_MEM_CTX(ndr, *r->strings, 0);
+ NDR_PULL_SET_MEM_CTX(ndr, r->strings, 0);
for (cntr_strings_0 = 0; cntr_strings_0 < r->num_of_strings; cntr_strings_0++) {
NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->strings[cntr_strings_0]));
}