diff options
author | Damien Miller <djm@mindrot.org> | 2005-06-17 12:59:34 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-06-17 12:59:34 +1000 |
commit | eccb9de72aa29da5a3fad87a4287b32438689c1f (patch) | |
tree | 9b8ef20a7e454b984e0ad67b54b2bdc5577aa2fa /channels.c | |
parent | 677257fe07dd2b9a58817e1d42fc2c25bb618a4d (diff) |
- djm@cvs.openbsd.org 2005/06/17 02:44:33
[auth-rsa.c auth.c auth1.c auth2-chall.c auth2-gss.c authfd.c authfile.c]
[bufaux.c canohost.c channels.c cipher.c clientloop.c dns.c gss-serv.c]
[kex.c kex.h key.c mac.c match.c misc.c packet.c packet.h scp.c]
[servconf.c session.c session.h sftp-client.c sftp-server.c sftp.c]
[ssh-keyscan.c ssh-rsa.c sshconnect.c sshconnect1.c sshconnect2.c sshd.c]
make this -Wsign-compare clean; ok avsm@ markus@
NB. auth1.c changes not committed yet (conflicts with uncommitted sync)
NB2. more work may be needed to make portable Wsign-compare clean
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; |