summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.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/rcs.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/rcs.c')
-rw-r--r--usr.bin/cvs/rcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 793e2296845..92ca5fdff62 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.266 2008/06/08 13:36:30 tobias Exp $ */
+/* $OpenBSD: rcs.c,v 1.267 2008/06/10 05:01:36 tobias Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -3448,7 +3448,7 @@ rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct cvs_lines *lines,
cvs_buf_append(tmpbuf, line->l_line,
start - line->l_line);
/* Append keyword. */
- cvs_buf_append(tmpbuf, expbuf, strlen(expbuf));
+ cvs_buf_puts(tmpbuf, expbuf);
/* Point c to end of keyword. */
tlen = cvs_buf_len(tmpbuf) - 1;
/* Append everything after keyword. */