diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-07-23 22:43:40 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-07-23 22:43:40 +0000 |
commit | cdafc761463ad6faa7213b8bfbe8f823d5d9ced7 (patch) | |
tree | 240d01c5cc7b393e00aaa591f09a723af086dd89 /usr.bin/cvs/remove.c | |
parent | 9fa25e1b5512e9f19c909c96d7aedd5a6b7259ad (diff) |
fix remote remove command, gcc didn't even catch this misplaced bracket.
Diffstat (limited to 'usr.bin/cvs/remove.c')
-rw-r--r-- | usr.bin/cvs/remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/remove.c b/usr.bin/cvs/remove.c index 4bd8ea6d8a6..ede76822c4a 100644 --- a/usr.bin/cvs/remove.c +++ b/usr.bin/cvs/remove.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remove.c,v 1.21 2005/07/21 16:59:24 xsa Exp $ */ +/* $OpenBSD: remove.c,v 1.22 2005/07/23 22:43:39 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2004, 2005 Xavier Santolaria <xsa@openbsd.org> @@ -127,7 +127,7 @@ cvs_remove_remote(CVSFILE *cf, void *arg) return (CVS_EX_PROTO); if (cf->cf_cvstat != CVS_FST_LOST && force_remove != 1) { - if (cvs_sendreq(root, CVS_REQ_MODIFIED, cf->cf_name < 0)) { + if (cvs_sendreq(root, CVS_REQ_MODIFIED, cf->cf_name) < 0) { return (CVS_EX_PROTO); } |