From d500cbb2064e4beb40a760f62b53a3f75f2a87fb Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 31 May 2000 05:39:54 +0000 Subject: messing about. (This used to be commit 9c6f2d75d848a280f25f2377130953ecd824b7b1) --- source3/aparser/templates/fn_start.tpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source3/aparser/templates/fn_start.tpl') diff --git a/source3/aparser/templates/fn_start.tpl b/source3/aparser/templates/fn_start.tpl index 017f894f78..a5d58767a6 100644 --- a/source3/aparser/templates/fn_start.tpl +++ b/source3/aparser/templates/fn_start.tpl @@ -1,13 +1,17 @@ /******************************************************************* parse a @STRUCTNAME@ structure ********************************************************************/ -BOOL @FUNCNAME@(char *desc, prs_struct *ps, int depth, +BOOL @FUNCNAME@(char *desc, io_struct *ps, int depth, @STRUCTNAME@ *il, unsigned flags) { - prs_debug(ps, depth, desc, "@FUNCNAME@"); + io_debug(ps, depth, desc, "@FUNCNAME@"); depth++; if (!(flags & PARSE_SCALARS)) goto buffers; - ZERO_STRUCTP(il); +#if 0 + if (UNMARSHALLING(ps)) { + ZERO_STRUCTP(il); + } +#endif /* parse the scalars */ -- cgit