1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00
samba-mirror/source/aparser/templates/prs_array_optional.tpl

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;
}