summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/diff_internals.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-10 05:01:37 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-10 05:01:37 +0000
commit957d1787f9bc2f98d871edd683475f8763d55936 (patch)
tree122a8478ffd9b35009e7fdf01fcdbfa2e9beb80e /usr.bin/cvs/diff_internals.c
parent2a1bccc129e04118f40916019a15c3364bf46eec (diff)
We have a cvs_buf_puts implementation now, also use cvs_buf_putc instead
of cvs_buf_append where appropiate. ok joris
Diffstat (limited to 'usr.bin/cvs/diff_internals.c')
-rw-r--r--usr.bin/cvs/diff_internals.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff_internals.c b/usr.bin/cvs/diff_internals.c
index 50246055dcb..f703e354fda 100644
--- a/usr.bin/cvs/diff_internals.c
+++ b/usr.bin/cvs/diff_internals.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff_internals.c,v 1.22 2008/05/30 11:06:17 tobias Exp $ */
+/* $OpenBSD: diff_internals.c,v 1.23 2008/06/10 05:01:36 tobias Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -1459,7 +1459,7 @@ diff_output(const char *fmt, ...)
if (i == -1)
fatal("diff_output: could not allocate memory");
if (diffbuf != NULL)
- cvs_buf_append(diffbuf, str, strlen(str));
+ cvs_buf_puts(diffbuf, str);
else
cvs_printf("%s", str);
xfree(str);