diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-30 05:28:28 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-30 05:28:28 +0000 |
commit | 55f2530f7eb3ea7946a0c2a4fa042b71caace98a (patch) | |
tree | c23d4fce64f76808407da46c45ef7989eff22621 /usr.bin/cvs | |
parent | 3310cf50b6dcad8b4dc666e179e13fd2d7b1f0f3 (diff) |
adjust some thruth in a comment.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/buf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/buf.c b/usr.bin/cvs/buf.c index 414b596bce8..f548df669bc 100644 --- a/usr.bin/cvs/buf.c +++ b/usr.bin/cvs/buf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.c,v 1.26 2005/12/30 01:59:00 joris Exp $ */ +/* $OpenBSD: buf.c,v 1.27 2005/12/30 05:28:27 joris Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -252,8 +252,7 @@ cvs_buf_putc(BUF *b, int c) * buffer is too small to accept all data, it will attempt to append as much * data as possible, or if the BUF_AUTOEXT flag is set for the buffer, it * will get resized to an appropriate size to accept all data. - * Returns the number of bytes successfully appended to the buffer, or -1 - * on failure. + * Returns the number of bytes successfully appended to the buffer. */ ssize_t cvs_buf_append(BUF *b, const void *data, size_t len) |