summaryrefslogtreecommitdiff
path: root/print-telnet.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-03-07 10:24:27 +0100
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-03-07 10:24:27 +0100
commit6ffa10954fe2613d421fb199da2e50d07c1979e5 (patch)
treea5c0c7cfd03bc4e29d6cc07b1f1c61bbf5c75ccb /print-telnet.c
parent08520c3bde32eec93147e34e28dc33e1044bd315 (diff)
downloadtcpdump-6ffa10954fe2613d421fb199da2e50d07c1979e5.tar.gz
print-telnet: variable 'length' is updated and the new value is never used
Diffstat (limited to 'print-telnet.c')
-rw-r--r--print-telnet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/print-telnet.c b/print-telnet.c
index 8b4113cf..e8d0a3ee 100644
--- a/print-telnet.c
+++ b/print-telnet.c
@@ -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)