diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2017-06-01 08:08:25 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2017-06-01 08:08:25 +0000 |
commit | 550e39d44e12ce93d0c6f866d36bc7607dad6a05 (patch) | |
tree | 76bf855c9543b881dd06e9e7546719be13b85099 /usr.bin/cvs/tag.c | |
parent | a370b2e764407f644a4a9249e7f58cad0ec01915 (diff) |
Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.
Instead use cvsroot_is_local() and cvsroot_is_remote().
Diffstat (limited to 'usr.bin/cvs/tag.c')
-rw-r--r-- | usr.bin/cvs/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/tag.c b/usr.bin/cvs/tag.c index 41fa84be8c4..a118827eb21 100644 --- a/usr.bin/cvs/tag.c +++ b/usr.bin/cvs/tag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tag.c,v 1.86 2017/05/31 16:13:25 joris Exp $ */ +/* $OpenBSD: tag.c,v 1.87 2017/06/01 08:08:24 joris Exp $ */ /* * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> * @@ -156,7 +156,7 @@ cvs_tag(int argc, char **argv) cr.enterdir = NULL; cr.leavedir = NULL; - if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) { + if (cvsroot_is_remote()) { cvs_client_connect_to_server(); cr.fileproc = cvs_client_sendfile; |