print-telnet: variable 'length' is updated and the new value is never used

This commit is contained in:
Francois-Xavier Le Bail 2014-03-07 10:24:27 +01:00
parent 08520c3bde
commit 6ffa10954f

View 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)