summaryrefslogtreecommitdiff
path: root/print-telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-telnet.c')
-rw-r--r--print-telnet.c2
1 files changed, 1 insertions, 1 deletions
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)