diff options
author | damien <damien> | 2000-04-13 02:26:34 +0000 |
---|---|---|
committer | damien <damien> | 2000-04-13 02:26:34 +0000 |
commit | 4865b4367a5201a0bc74bde94840bf0896f4c445 (patch) | |
tree | e37cca6e0da5c6b1008d8aa858016f32a7571de1 /buffer.c | |
parent | b9fb495d3504b2cd335836f67bd06077b58390d4 (diff) | |
download | openssh-4865b4367a5201a0bc74bde94840bf0896f4c445.tar.gz |
- Merged OpenBSD updates to include paths.
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$Id: buffer.c,v 1.3 1999/11/25 00:54:58 damien Exp $"); +RCSID("$Id: buffer.c,v 1.4 2000/04/13 02:26:36 damien Exp $"); #include "xmalloc.h" #include "buffer.h" @@ -114,7 +114,7 @@ void buffer_get(Buffer *buffer, char *buf, unsigned int len) { if (len > buffer->end - buffer->offset) - fatal("buffer_get trying to get more bytes than in buffer"); + fatal("buffer_get: trying to get more bytes than in buffer"); memcpy(buf, buffer->buf + buffer->offset, len); buffer->offset += len; } @@ -125,7 +125,7 @@ void buffer_consume(Buffer *buffer, unsigned int bytes) { if (bytes > buffer->end - buffer->offset) - fatal("buffer_get trying to get more bytes than in buffer"); + fatal("buffer_consume: trying to get more bytes than in buffer"); buffer->offset += bytes; } @@ -135,7 +135,7 @@ void buffer_consume_end(Buffer *buffer, unsigned int bytes) { if (bytes > buffer->end - buffer->offset) - fatal("buffer_get trying to get more bytes than in buffer"); + fatal("buffer_consume_end: trying to get more bytes than in buffer"); buffer->end -= bytes; } |