diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-03 22:23:30 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-03 22:23:30 +0100 |
commit | 4a28df231d469d78763dfaab9ee9ad4d0a73fca1 (patch) | |
tree | 279ea5389cc4ff0ca931495206c6463cec558912 /print-zephyr.c | |
parent | d526e47658b691c4b5ca0d29759d1f67b7fb037b (diff) | |
download | tcpdump-4a28df231d469d78763dfaab9ee9ad4d0a73fca1.tar.gz |
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (2/n)
Diffstat (limited to 'print-zephyr.c')
-rw-r--r-- | print-zephyr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |