summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-11-15 04:16:34 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-11-15 04:16:34 +0000
commitdfc81546ed2631b4c78cea6c2324e2c058fbc1ff (patch)
treedf036e23368e82a4ac8f5c1db6017bdb6451d46b /usr.bin
parentc7dfa649adef15ffd6252ee55055d518555532c2 (diff)
Fix some issues in the protocol dispatch table:
- set the 'log', 'history', 'rdiff' and 'rtag' commands to require a response - replace the entry for 'rannotate' (which doesn't exist) with 'annotate' and also remove 'rlog' (which doesn't exist either)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/proto.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c
index 9233a921eac..1acfb788f42 100644
--- a/usr.bin/cvs/proto.c
+++ b/usr.bin/cvs/proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.c,v 1.25 2004/09/23 15:36:32 jfb Exp $ */
+/* $OpenBSD: proto.c,v 1.26 2004/11/15 04:16:33 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -109,17 +109,16 @@ struct cvs_req cvs_requests[] = {
{ CVS_REQ_VALIDRCSOPT, "Valid-RcsOptions", 0 },
{ CVS_REQ_SET, "Set", 0 },
{ CVS_REQ_XPANDMOD, "expand-modules", CVS_REQF_RESP },
- { CVS_REQ_LOG, "log", 0 },
+ { CVS_REQ_LOG, "log", CVS_REQF_RESP },
{ CVS_REQ_CO, "co", CVS_REQF_RESP },
{ CVS_REQ_EXPORT, "export", CVS_REQF_RESP },
- { CVS_REQ_RANNOTATE, "rannotate", 0 },
- { CVS_REQ_RDIFF, "rdiff", 0 },
- { CVS_REQ_RLOG, "rlog", 0 },
+ { CVS_REQ_ANNOTATE, "annotate", CVS_REQF_RESP },
+ { CVS_REQ_RDIFF, "rdiff", CVS_REQF_RESP },
{ CVS_REQ_RTAG, "rtag", CVS_REQF_RESP },
{ CVS_REQ_INIT, "init", CVS_REQF_RESP },
{ CVS_REQ_STATUS, "status", CVS_REQF_RESP },
{ CVS_REQ_UPDATE, "update", CVS_REQF_RESP },
- { CVS_REQ_HISTORY, "history", 0 },
+ { CVS_REQ_HISTORY, "history", CVS_REQF_RESP },
{ CVS_REQ_IMPORT, "import", CVS_REQF_RESP },
{ CVS_REQ_ADD, "add", CVS_REQF_RESP },
{ CVS_REQ_REMOVE, "remove", CVS_REQF_RESP },