summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r--usr.bin/cvs/client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index a9f656f0268..b41f101f6cc 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.121 2009/04/04 11:29:57 joris Exp $ */
+/* $OpenBSD: client.c,v 1.122 2010/07/23 21:46:05 ray Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -135,20 +135,20 @@ client_get_supported_responses(void)
int i, first;
first = 0;
- bp = cvs_buf_alloc(512);
+ bp = buf_alloc(512);
for (i = 0; cvs_responses[i].supported != -1; i++) {
if (cvs_responses[i].hdlr == NULL)
continue;
if (first != 0)
- cvs_buf_putc(bp, ' ');
+ buf_putc(bp, ' ');
else
first++;
- cvs_buf_puts(bp, cvs_responses[i].name);
+ buf_puts(bp, cvs_responses[i].name);
}
- cvs_buf_putc(bp, '\0');
- d = cvs_buf_release(bp);
+ buf_putc(bp, '\0');
+ d = buf_release(bp);
return (d);
}