summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/server.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/server.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/server.c')
-rw-r--r--usr.bin/cvs/server.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 1be77b4b549..f757c28c36f 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.88 2008/05/28 17:12:00 tobias Exp $ */
+/* $OpenBSD: server.c,v 1.89 2008/06/10 05:01:36 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -221,12 +221,11 @@ cvs_server_validreq(char *data)
continue;
if (first != 0)
- cvs_buf_append(bp, " ", 1);
+ cvs_buf_putc(bp, ' ');
else
first++;
- cvs_buf_append(bp, cvs_requests[i].name,
- strlen(cvs_requests[i].name));
+ cvs_buf_puts(bp, cvs_requests[i].name);
}
cvs_buf_putc(bp, '\0');