summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-07-08 08:24:10 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-07-08 08:24:10 +0000
commitc2ae23c64347650f04dcd8456bbb298cf8140ccf (patch)
treed9defc8e5b8891e490254c7112fc20c51ac95729 /usr.bin/cvs/checkout.c
parent7c920d704939240b2ffb4e71129b91e5e0ce52ba (diff)
do not send the Arguments to the server twice.
ok xsa@
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 94a2f44fc57..c3197598d9d 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.35 2005/07/07 14:27:57 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.36 2005/07/08 08:24:09 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -214,9 +214,6 @@ cvs_checkout_pre_exec(struct cvsroot *root)
}
if (root->cr_method != CVS_METHOD_LOCAL) {
- for (i = 0; i < co_nmod; i++)
- if (cvs_sendarg(root, co_mods[i], 0) < 0)
- return (CVS_EX_PROTO);
if (cvs_sendreq(root, CVS_REQ_DIRECTORY, ".") < 0)
return (CVS_EX_PROTO);
if (cvs_sendln(root, root->cr_dir) < 0)