diff options
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: buffer.c,v 1.19 2003/09/18 07:54:48 markus Exp $"); | 15 | RCSID("$OpenBSD: buffer.c,v 1.21 2003/11/21 11:57:03 djm Exp $"); |
16 | 16 | ||
17 | #include "xmalloc.h" | 17 | #include "xmalloc.h" |
18 | #include "buffer.h" | 18 | #include "buffer.h" |
@@ -105,7 +105,7 @@ restart: | |||
105 | goto restart; | 105 | goto restart; |
106 | } | 106 | } |
107 | /* Increase the size of the buffer and retry. */ | 107 | /* Increase the size of the buffer and retry. */ |
108 | 108 | ||
109 | newlen = buffer->alloc + len + 32768; | 109 | newlen = buffer->alloc + len + 32768; |
110 | if (newlen > 0xa00000) | 110 | if (newlen > 0xa00000) |
111 | fatal("buffer_append_space: alloc %u not supported", | 111 | fatal("buffer_append_space: alloc %u not supported", |
@@ -169,7 +169,7 @@ buffer_ptr(Buffer *buffer) | |||
169 | void | 169 | void |
170 | buffer_dump(Buffer *buffer) | 170 | buffer_dump(Buffer *buffer) |
171 | { | 171 | { |
172 | int i; | 172 | u_int i; |
173 | u_char *ucp = buffer->buf; | 173 | u_char *ucp = buffer->buf; |
174 | 174 | ||
175 | for (i = buffer->offset; i < buffer->end; i++) { | 175 | for (i = buffer->offset; i < buffer->end; i++) { |