diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-06-28 12:38:01 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-06-28 12:38:01 +1000 |
commit | 502d384b74fae68dd9e265f48c2026cef6c12806 (patch) | |
tree | 23aa1a738e0c94ffdc6efa196ab1bbb2a51afe8a /packet.c | |
parent | 674f71d77e3683746a960a13da39d2d68cdcafad (diff) |
- markus@cvs.openbsd.org 2003/06/24 08:23:46
[auth2-hostbased.c auth2-pubkey.c auth2.c channels.c key.c key.h
monitor.c packet.c packet.h serverloop.c sshconnect2.c sshd.c]
int -> u_int; ok djm@, deraadt@, mouring@
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: packet.c,v 1.107 2003/06/10 22:20:52 deraadt Exp $"); | 40 | RCSID("$OpenBSD: packet.c,v 1.108 2003/06/24 08:23:46 markus Exp $"); |
41 | 41 | ||
42 | #include "openbsd-compat/sys-queue.h" | 42 | #include "openbsd-compat/sys-queue.h" |
43 | 43 | ||
@@ -108,7 +108,7 @@ static int compression_buffer_ready = 0; | |||
108 | static int packet_compression = 0; | 108 | static int packet_compression = 0; |
109 | 109 | ||
110 | /* default maximum packet size */ | 110 | /* default maximum packet size */ |
111 | int max_packet_size = 32768; | 111 | u_int max_packet_size = 32768; |
112 | 112 | ||
113 | /* Flag indicating whether this module has been initialized. */ | 113 | /* Flag indicating whether this module has been initialized. */ |
114 | static int initialized = 0; | 114 | static int initialized = 0; |
@@ -1446,8 +1446,8 @@ packet_is_interactive(void) | |||
1446 | return interactive_mode; | 1446 | return interactive_mode; |
1447 | } | 1447 | } |
1448 | 1448 | ||
1449 | int | 1449 | u_int |
1450 | packet_set_maxsize(int s) | 1450 | packet_set_maxsize(u_int s) |
1451 | { | 1451 | { |
1452 | static int called = 0; | 1452 | static int called = 0; |
1453 | 1453 | ||