summaryrefslogtreecommitdiff
path: root/print-telnet.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-02 16:16:02 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-02 16:17:21 +0100
commitc6a0c105334b262707361884d682a5fdfb4cc11d (patch)
tree112dbf6d3749dd21ba86a9eaf3646c494278b068 /print-telnet.c
parent1eae026e557619f80178239dfb79edfd92a31125 (diff)
downloadtcpdump-c6a0c105334b262707361884d682a5fdfb4cc11d.tar.gz
Use more the ND_TCHECK_1() macro
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)