]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-telnet.c
print-telnet: variable 'length' is updated and the new value is never used
[tcpdump] / print-telnet.c
index 8b4113cfb0179f01c61339b21e5a603765bf1a27..e8d0a3eee520d61fc136be574add6f9cfc4e3e2a 100644 (file)
@@ -484,7 +484,6 @@ telnet_parse(const u_char *sp, u_int length, int print)
                if (print)
                        (void)printf(" SE");
                sp += 2;
-               length -= 2;
                break;
        default:
                if (print)