From c6a0c105334b262707361884d682a5fdfb4cc11d Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Tue, 2 Jan 2018 16:16:02 +0100 Subject: Use more the ND_TCHECK_1() macro --- print-telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-telnet.c') diff --git a/print-telnet.c b/print-telnet.c index 41e24462..c65b48fb 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -397,7 +397,7 @@ telnet_parse(netdissect_options *ndo, const u_char *sp, u_int length, int print) do { \ if (length < 1) \ goto pktend; \ - ND_TCHECK(*sp); \ + ND_TCHECK_1(sp); \ c = *sp++; \ length--; \ } while (0) -- cgit v1.2.1