diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2009-04-18 16:26:02 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2009-04-18 16:26:02 +0000 |
commit | fd3767b9270756410f36d0b550428fb47d691da9 (patch) | |
tree | 785e305a9462553ca30031fe1c85f402299bc75d /usr.bin | |
parent | c13407be805667785c9bd3ba5dbfc9aa6b27c414 (diff) |
bleh, do not force the client to support certain responses.
this fixes annotate on our cvsweb. the cvsweb script does very
funky things in order to get the job done, but hey we should support it.
i'm shocked nobody noticed annotate wasnt working, djees.
found by jacekm@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/server.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c index a4b4b9097a1..5e846b39b6c 100644 --- a/usr.bin/cvs/server.c +++ b/usr.bin/cvs/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.98 2009/04/10 11:26:10 joris Exp $ */ +/* $OpenBSD: server.c,v 1.99 2009/04/18 16:26:01 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -40,11 +40,13 @@ struct cvs_resp cvs_responses[] = { { "Updated", 0, cvs_client_updated, RESP_NEEDED }, { "Merged", 0, cvs_client_merged, RESP_NEEDED }, { "Removed", 0, cvs_client_removed, RESP_NEEDED }, - { "Remove-entry", 0, cvs_client_remove_entry, RESP_NEEDED }, - { "Set-static-directory", 0, cvs_client_set_static_directory, RESP_NEEDED }, - { "Clear-static-directory", 0, cvs_client_clear_static_directory, RESP_NEEDED }, - { "Set-sticky", 0, cvs_client_set_sticky, RESP_NEEDED }, - { "Clear-sticky", 0, cvs_client_clear_sticky, RESP_NEEDED }, + { "Remove-entry", 0, cvs_client_remove_entry, 0 }, + { "Set-static-directory", 0, + cvs_client_set_static_directory, 0 }, + { "Clear-static-directory", 0, + cvs_client_clear_static_directory, 0 }, + { "Set-sticky", 0, cvs_client_set_sticky, 0 }, + { "Clear-sticky", 0, cvs_client_clear_sticky, 0 }, /* unsupported responses until told otherwise */ { "New-entry", 0, NULL, 0 }, |