diff options
| author | 2008-06-10 05:01:36 +0000 | |
|---|---|---|
| committer | 2008-06-10 05:01:36 +0000 | |
| commit | 0a2f95d0833c8b245dcefb73b23187c446277881 (patch) | |
| tree | 6eb4cc15cae067cb7f6c8e81b091159483c7a108 /usr.bin/cvs/diff_internals.c | |
| parent | Add extended test mode (-T) and connection parameters for test mode (-C). (diff) | |
| download | wireguard-openbsd-0a2f95d0833c8b245dcefb73b23187c446277881.tar.xz wireguard-openbsd-0a2f95d0833c8b245dcefb73b23187c446277881.zip | |
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.c | 4 |
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); |
