From 128026c9a2de83a8ac6214e733fa871440c6b77f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 16 May 2000 12:43:53 +0000 Subject: added the ".trailer" type, to mark where a packet turns into a trailer this now gives us enough to parse complete function calls, including the return values (This used to be commit ca8f1e92adf3603ad15f73277576cc9178bb4d74) --- source3/aparser/vluke.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/aparser/vluke.c') diff --git a/source3/aparser/vluke.c b/source3/aparser/vluke.c index 312eeceb2c..f5612a773d 100644 --- a/source3/aparser/vluke.c +++ b/source3/aparser/vluke.c @@ -33,7 +33,8 @@ int main(int argc, char *argv[]) ps.io = UNMARSHALL; il = (TEST_STRUCT *)malloc(sizeof(*il)); ret = TEST_FUNC(desc, &ps, 1, il, PARSE_SCALARS|PARSE_BUFFERS); - printf("\nret=%s\n\n\n", ret?"OK":"Bad"); + printf("\nret=%s\n", ret?"OK":"Bad"); + printf("Trailer is %d bytes\n\n", ps.grow_size - ps.data_offset); dump_data(0, ps.data_p, ps.grow_size); return !ret; } -- cgit