diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-13 21:18:00 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-13 21:18:00 +1000 |
commit | c7a6fc41bfdcd73469b153437a8e75e0b1057894 (patch) | |
tree | 4ad8c688ec8a08573b3c2efa38af1dcc5df24222 /clientloop.c | |
parent | 03669a363eb8c76f460a75adc11d0eb933e4af49 (diff) |
- avsm@cvs.openbsd.org 2004/08/11 21:43:05
[channels.c channels.h clientloop.c misc.c misc.h serverloop.c ssh-agent.c]
some signed/unsigned int comparison cleanups; markus@ ok
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c index def4d8a7b..0b9a0fb29 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.129 2004/07/11 17:48:47 deraadt Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.130 2004/08/11 21:43:04 avsm Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -348,7 +348,7 @@ server_alive_check(void) | |||
348 | */ | 348 | */ |
349 | static void | 349 | static void |
350 | client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, | 350 | client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, |
351 | int *maxfdp, int *nallocp, int rekeying) | 351 | int *maxfdp, u_int *nallocp, int rekeying) |
352 | { | 352 | { |
353 | struct timeval tv, *tvp; | 353 | struct timeval tv, *tvp; |
354 | int ret; | 354 | int ret; |
@@ -1147,7 +1147,8 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
1147 | { | 1147 | { |
1148 | fd_set *readset = NULL, *writeset = NULL; | 1148 | fd_set *readset = NULL, *writeset = NULL; |
1149 | double start_time, total_time; | 1149 | double start_time, total_time; |
1150 | int max_fd = 0, max_fd2 = 0, len, rekeying = 0, nalloc = 0; | 1150 | int max_fd = 0, max_fd2 = 0, len, rekeying = 0; |
1151 | u_int nalloc = 0; | ||
1151 | char buf[100]; | 1152 | char buf[100]; |
1152 | 1153 | ||
1153 | debug("Entering interactive session."); | 1154 | debug("Entering interactive session."); |