summaryrefslogtreecommitdiff
path: root/source4/pidl/tests/ndr_alloc.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-14 00:27:38 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:12 +0100
commit584044d5e7148c5135518500ba81caece092c04a (patch)
tree82440a7ce5e9369746fa0070bce168db3dfe7841 /source4/pidl/tests/ndr_alloc.pl
parent96a200511e884a88dcf48fa5b313b2cddb2df566 (diff)
downloadsamba-584044d5e7148c5135518500ba81caece092c04a.tar.gz
samba-584044d5e7148c5135518500ba81caece092c04a.tar.bz2
samba-584044d5e7148c5135518500ba81caece092c04a.zip
r26444: Fix pidl tests.
(This used to be commit bc643f1014cef7f0bc66ad0edfa22395c69b8352)
Diffstat (limited to 'source4/pidl/tests/ndr_alloc.pl')
-rwxr-xr-xsource4/pidl/tests/ndr_alloc.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/pidl/tests/ndr_alloc.pl b/source4/pidl/tests/ndr_alloc.pl
index e967bb7cdb..399fbd21d6 100755
--- a/source4/pidl/tests/ndr_alloc.pl
+++ b/source4/pidl/tests/ndr_alloc.pl
@@ -20,7 +20,7 @@ test_samba4_ndr("alloc-scalar",
','
uint8_t data[] = { 0xde, 0xad, 0xbe, 0xef, 0x03 };
DATA_BLOB b = { data, 5 };
- struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL);
+ struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL, NULL);
struct TestAlloc r;
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_TestAlloc(ndr, NDR_IN, &r)))
@@ -44,7 +44,7 @@ test_samba4_ndr("alloc-buffer",
','
uint8_t data[] = { 0xde, 0xad, 0xbe, 0xef, 0x03 };
DATA_BLOB b = { data, 5 };
- struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL);
+ struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL, NULL);
struct TestAlloc r;
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_TestAlloc(ndr, NDR_IN, &r)))
@@ -65,7 +65,7 @@ test_samba4_ndr("ref-noalloc-null",
','
uint8_t data[] = { 0x03 };
DATA_BLOB b = { data, 1 };
- struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL);
+ struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL, NULL);
struct TestAlloc r;
r.in.t = NULL;
@@ -81,7 +81,7 @@ test_samba4_ndr("ref-noalloc",
','
uint8_t data[] = { 0x03 };
DATA_BLOB b = { data, 1 };
- struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL);
+ struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL, NULL);
struct TestAlloc r;
uint8_t x;
r.in.t = &x;
@@ -101,7 +101,7 @@ test_samba4_ndr("ref-alloc",
','
uint8_t data[] = { 0x03 };
DATA_BLOB b = { data, 1 };
- struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL);
+ struct ndr_pull *ndr = ndr_pull_init_blob(&b, NULL, NULL);
struct TestAlloc r;
ndr->flags |= LIBNDR_FLAG_REF_ALLOC;
r.in.t = NULL;