summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/prs_uint8s.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/templates/prs_uint8s.tpl')
-rw-r--r--source3/aparser/templates/prs_uint8s.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/aparser/templates/prs_uint8s.tpl b/source3/aparser/templates/prs_uint8s.tpl
new file mode 100644
index 0000000000..cfc4bab1d2
--- /dev/null
+++ b/source3/aparser/templates/prs_uint8s.tpl
@@ -0,0 +1,2 @@
+ if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*il->@ARRAY_LEN@)) goto fail;
+ if (!io_uint8s("@ELEM@", ps, depth+1, il->@ELEM@, il->@ARRAY_LEN@, @FLAGS@)) goto fail;