summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/buffer.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-04-12 10:22:38 +0000
committermarkus <markus@openbsd.org>2000-04-12 10:22:38 +0000
commitc81317a32d28157dcf52f34a1942d405591bff93 (patch)
tree9468f4b512a07b60668d3c5c04bf10ccb20b8324 /usr.bin/ssh/buffer.c
parent#include <ssl/foo.h> -> <openssh/foo.h> (diff)
downloadwireguard-openbsd-c81317a32d28157dcf52f34a1942d405591bff93.tar.xz
wireguard-openbsd-c81317a32d28157dcf52f34a1942d405591bff93.zip
typos
Diffstat (limited to 'usr.bin/ssh/buffer.c')
-rw-r--r--usr.bin/ssh/buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/buffer.c b/usr.bin/ssh/buffer.c
index 65579341b8c..a1eaeca7377 100644
--- a/usr.bin/ssh/buffer.c
+++ b/usr.bin/ssh/buffer.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$Id: buffer.c,v 1.4 1999/11/24 19:53:44 markus Exp $");
+RCSID("$Id: buffer.c,v 1.5 2000/04/12 10:22:38 markus 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;
}