diff options
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c index 6be121970..9d522a6c3 100644 --- a/channels.c +++ b/channels.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.c,v 1.267 2006/12/12 03:58:42 djm Exp $ */ | 1 | /* $OpenBSD: channels.c,v 1.268 2007/01/03 03:01:40 stevesk Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1052,7 +1052,7 @@ channel_decode_socks5(Channel *c, fd_set *readset, fd_set *writeset) | |||
1052 | if (have < nmethods + 2) | 1052 | if (have < nmethods + 2) |
1053 | return 0; | 1053 | return 0; |
1054 | /* look for method: "NO AUTHENTICATION REQUIRED" */ | 1054 | /* look for method: "NO AUTHENTICATION REQUIRED" */ |
1055 | for (found = 0, i = 2 ; i < nmethods + 2; i++) { | 1055 | for (found = 0, i = 2; i < nmethods + 2; i++) { |
1056 | if (p[i] == SSH_SOCKS5_NOAUTH) { | 1056 | if (p[i] == SSH_SOCKS5_NOAUTH) { |
1057 | found = 1; | 1057 | found = 1; |
1058 | break; | 1058 | break; |