]> The Tcpdump Group git mirrors - tcpdump/commitdiff
print-telnet: variable 'length' is updated and the new value is never used 372/head
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 7 Mar 2014 09:24:27 +0000 (10:24 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 7 Mar 2014 09:24:27 +0000 (10:24 +0100)
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)