From 86732db71cd539216ad57d9d4ed05d6980a97c64 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sun, 9 Mar 2008 03:41:56 +0000 Subject: do not use CR_REPO in a remote setup, that will obviously fail. --- usr.bin/cvs/add.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c index 6bc9063a1bb..c3c0e35097e 100644 --- a/usr.bin/cvs/add.c +++ b/usr.bin/cvs/add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: add.c,v 1.96 2008/03/08 20:26:34 joris Exp $ */ +/* $OpenBSD: add.c,v 1.97 2008/03/09 03:41:55 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2005, 2006 Xavier Santolaria @@ -89,6 +89,7 @@ cvs_add(int argc, char **argv) if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) { cvs_client_connect_to_server(); cr.fileproc = cvs_add_remote; + flags = 0; if (kflag) cvs_client_send_request("Argument %s", kbuf); -- cgit v1.2.3