1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/aparser/templates/prs_array_optional.tpl
Luke Leighton 1f69f80dd6 more templates.
(This used to be commit 4d50d35262)
2000-05-29 00:15:44 +00:00

6 lines
247 B
Smarty

if ((MARSHALLING(ps) && il->@ELEM@) ||
ps->data_offset < ps->buffer_size) {
if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@)))) goto fail;
if (!io_@TYPE@("@ELEM@...", ps, depth+1, il->@ELEM@, @FLAGS@)) goto fail;
}