summaryrefslogtreecommitdiff
path: root/usr.bin/telnet/encrypt.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-02-01 19:07:14 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-02-01 19:07:14 +0000
commitdae5a8d2fe650b63b8a5930e44ee701b2c7a1261 (patch)
tree3a77f3980c16877444aa93eae6ba66ea7411aff0 /usr.bin/telnet/encrypt.c
parentae963187e12199a38186593d19c2029893098a47 (diff)
double semicolon; from Daniel Matic in PR 4929
Diffstat (limited to 'usr.bin/telnet/encrypt.c')
-rw-r--r--usr.bin/telnet/encrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/encrypt.c b/usr.bin/telnet/encrypt.c
index 36b7a90a2c4..2dde9651acc 100644
--- a/usr.bin/telnet/encrypt.c
+++ b/usr.bin/telnet/encrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: encrypt.c,v 1.1 2005/05/24 03:43:56 deraadt Exp $ */
+/* $OpenBSD: encrypt.c,v 1.2 2006/02/01 19:04:37 otto Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -977,7 +977,7 @@ void encrypt_gen_printsub(unsigned char *data, int cnt,
data += 2;
buf[buflen-1] = '\0';
buf[buflen-2] = '*';
- buflen -= 2;;
+ buflen -= 2;
for (; cnt > 0; cnt--, data++) {
snprintf(tbuf, sizeof(tbuf), " %d", *data);
for (cp = tbuf; *cp && buflen > 0; --buflen)