diff options
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/channels.c b/channels.c index 66b15f5b5..7ca1c53ba 100644 --- a/channels.c +++ b/channels.c | |||
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: channels.c,v 1.216 2005/06/16 08:00:00 markus Exp $"); | 42 | RCSID("$OpenBSD: channels.c,v 1.217 2005/06/17 02:44:32 djm Exp $"); |
43 | 43 | ||
44 | #include "ssh.h" | 44 | #include "ssh.h" |
45 | #include "ssh1.h" | 45 | #include "ssh1.h" |
@@ -894,7 +894,7 @@ static int | |||
894 | channel_decode_socks4(Channel *c, fd_set * readset, fd_set * writeset) | 894 | channel_decode_socks4(Channel *c, fd_set * readset, fd_set * writeset) |
895 | { | 895 | { |
896 | char *p, *host; | 896 | char *p, *host; |
897 | int len, have, i, found; | 897 | u_int len, have, i, found; |
898 | char username[256]; | 898 | char username[256]; |
899 | struct { | 899 | struct { |
900 | u_int8_t version; | 900 | u_int8_t version; |
@@ -979,7 +979,7 @@ channel_decode_socks5(Channel *c, fd_set * readset, fd_set * writeset) | |||
979 | } s5_req, s5_rsp; | 979 | } s5_req, s5_rsp; |
980 | u_int16_t dest_port; | 980 | u_int16_t dest_port; |
981 | u_char *p, dest_addr[255+1]; | 981 | u_char *p, dest_addr[255+1]; |
982 | int i, have, found, nmethods, addrlen, af; | 982 | u_int have, i, found, nmethods, addrlen, af; |
983 | 983 | ||
984 | debug2("channel %d: decode socks5", c->self); | 984 | debug2("channel %d: decode socks5", c->self); |
985 | p = buffer_ptr(&c->input); | 985 | p = buffer_ptr(&c->input); |
@@ -1075,7 +1075,8 @@ static void | |||
1075 | channel_pre_dynamic(Channel *c, fd_set * readset, fd_set * writeset) | 1075 | channel_pre_dynamic(Channel *c, fd_set * readset, fd_set * writeset) |
1076 | { | 1076 | { |
1077 | u_char *p; | 1077 | u_char *p; |
1078 | int have, ret; | 1078 | u_int have; |
1079 | int ret; | ||
1079 | 1080 | ||
1080 | have = buffer_len(&c->input); | 1081 | have = buffer_len(&c->input); |
1081 | c->delayed = 0; | 1082 | c->delayed = 0; |