X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f72136796d3a0277e6a9e1d80db252659df7d06c..07e0b558f42fcdb78e7410177b66c004e430c83b:/print-ascii.c diff --git a/print-ascii.c b/print-ascii.c index 71db40dd..4006c42b 100644 --- a/print-ascii.c +++ b/print-ascii.c @@ -73,7 +73,7 @@ ascii_print(netdissect_options *ndo, truncated = TRUE; } ND_PRINT("\n"); - while (length > 0) { + while (length != 0) { s = GET_U_1(cp); cp++; length--;