diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-07-08 08:24:10 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-07-08 08:24:10 +0000 |
commit | c2ae23c64347650f04dcd8456bbb298cf8140ccf (patch) | |
tree | d9defc8e5b8891e490254c7112fc20c51ac95729 /usr.bin/cvs/checkout.c | |
parent | 7c920d704939240b2ffb4e71129b91e5e0ce52ba (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.c | 5 |
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) |