summaryrefslogtreecommitdiff
path: root/print-resp.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-resp.c
parent1eae026e557619f80178239dfb79edfd92a31125 (diff)
downloadtcpdump-c6a0c105334b262707361884d682a5fdfb4cc11d.tar.gz
Use more the ND_TCHECK_1() macro
Diffstat (limited to 'print-resp.c')
-rw-r--r--print-resp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-resp.c b/print-resp.c
index 1d24b58e..5e5bde0d 100644
--- a/print-resp.c
+++ b/print-resp.c
@@ -116,7 +116,7 @@ static int resp_get_length(netdissect_options *, const u_char *, int, const u_ch
#define FIND_CR_OR_LF(_ptr, _len) \
for (;;) { \
LCHECK(_len); \
- ND_TCHECK(*_ptr); \
+ ND_TCHECK_1(_ptr); \
if (*_ptr == '\r' || *_ptr == '\n') \
break; \
_ptr++; \