]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-resp.c
RESP: Use more the ND_TCHECK_1() macro
[tcpdump] / print-resp.c
index bec3858efa13f52a75e22aab307125677c605f43..babdafd67da515383c2ac82ff6eb6d9cdba12aab 100644 (file)
@@ -136,7 +136,7 @@ static int resp_get_length(netdissect_options *, const u_char *, int, const u_ch
             /*                                   \
              * Have we hit the end of data?      \
              */                                  \
-            if (_len == 0 || !ND_TTEST(*_ptr)) { \
+            if (_len == 0 || !ND_TTEST_1(_ptr)) {\
                 /*                               \
                  * Yes.  Have we seen a \r       \
                  * or \n?                        \