summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-08 05:01:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-08 05:01:51 +0000
commit4601e2a18312aa0a1106f5d2a3628d51c2acf4c0 (patch)
tree20d85b0babd1739f8dec261f3f8143a982c48e66 /usr.bin/cvs/rcs.c
parent2b53cb8465d2a0144e6b4b0ba868864eb62f031e (diff)
spacing
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r--usr.bin/cvs/rcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 9eb9f420e10..2a3a8844857 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.137 2006/03/07 19:17:57 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.138 2006/03/08 05:01:50 deraadt Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1111,7 +1111,7 @@ rcs_patch_lines(struct cvs_lines *dlines, struct cvs_lines *plines)
dlp = TAILQ_PREV(dlp, cvs_tqh, l_list);
} else if (dlp->l_lineno < lineno) {
if (((ndlp = TAILQ_NEXT(dlp, l_list)) == NULL) ||
- (ndlp->l_lineno > lineno))
+ (ndlp->l_lineno > lineno))
break;
dlp = ndlp;
}
@@ -2731,7 +2731,7 @@ rcs_expand_keywords(char *rcsfile, struct rcs_delta *rdp, char *data,
/* end the expansion */
if (mode & RCS_KWEXP_NAME)
strlcat(expbuf, "$", sizeof(expbuf));
-
+
sizdiff = strlen(expbuf) - (end - start);
tbuf = xmalloc(strlen(end) + 1);
strlcpy(tbuf, end, strlen(end) + 1);
@@ -2921,7 +2921,7 @@ rcs_kwexp_buf(BUF *bp, RCSFILE *rf, RCSNUM *rev)
expanded = rcs_expand_keywords(rf->rf_path, rdp,
tbuf, len, expmode);
bp = cvs_buf_alloc(len, BUF_AUTOEXT);
- cvs_buf_set(bp, expanded, strlen(expanded), 0);
+ cvs_buf_set(bp, expanded, strlen(expanded), 0);
xfree(expanded);
}
return (bp);