summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/server.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-12-15 13:12:15 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-12-15 13:12:15 +0000
commit2f75ad8de9714874983eb01b7942e138e9c2897c (patch)
treed28f0c045fdc18b6038b0f2f66f4a254a04c3706 /usr.bin/cvs/server.c
parentc35d95343a1970fcfcb3562f72c6670846b810ae (diff)
dummy support for update-patches request.
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r--usr.bin/cvs/server.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 2a2d0b5d75d..f8ffcf288e3 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.43 2006/12/15 09:50:37 xsa Exp $ */
+/* $OpenBSD: server.c,v 1.44 2006/12/15 13:12:14 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -448,6 +448,18 @@ cvs_server_argumentx(char *data)
}
void
+cvs_server_update_patches(char *data)
+{
+ /*
+ * This does not actually do anything.
+ * It is used to tell that the server is able to
+ * generate patches when given an `update' request.
+ * The client must issue the -u argument to `update'
+ * to receive patches.
+ */
+}
+
+void
cvs_server_add(char *data)
{
if (chdir(server_currentdir) == -1)