summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/client.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-01-18 16:45:53 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-01-18 16:45:53 +0000
commit1d2bf3c06fb24ab6e3c6d60346f8d9e6359384fc (patch)
treec63f3694e6fb2b2c77ae81bc879caafcad1316d2 /usr.bin/cvs/client.c
parent836bc0a4c096fe519947f933469838dd10809ec3 (diff)
import improvements:
- add support for remote import in opencvs client and server. - do not free already free'd buffers in import_update() - do not append a '\0' to the loaded file buffer, this was bad behaviour makes import work fine both locally and remotely.
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r--usr.bin/cvs/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 28df816f35b..02b49110118 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.48 2007/01/17 17:54:50 joris Exp $ */
+/* $OpenBSD: client.c,v 1.49 2007/01/18 16:45:52 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -74,7 +74,7 @@ struct cvs_req cvs_requests[] = {
{ "rdiff", 0, NULL, 0 },
{ "tag", 0, cvs_server_tag, 0 },
{ "rtag", 0, NULL, 0 },
- { "import", 0, NULL, 0 },
+ { "import", 0, cvs_server_import, 0 },
{ "admin", 0, cvs_server_admin, 0 },
{ "export", 0, NULL, 0 },
{ "history", 0, NULL, 0 },