From 4a28df231d469d78763dfaab9ee9ad4d0a73fca1 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Wed, 3 Jan 2018 22:23:30 +0100 Subject: Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (2/n) --- print-zephyr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-zephyr.c') diff --git a/print-zephyr.c b/print-zephyr.c index 735e273f..bce894a4 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -95,7 +95,7 @@ parse_field(netdissect_options *ndo, const char **pptr, int *len, int *truncated /* Ran out of packet data without finding it */ return NULL; } - if (!ND_TTEST(**pptr)) { + if (!ND_TTEST_SIZE(*pptr)) { /* Ran out of captured data without finding it */ *truncated = 1; return NULL; -- cgit v1.2.1