summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-07-30 00:01:51 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-07-30 00:01:51 +0000
commitbe5896548c00377a56545c15b8b9026337a2b46d (patch)
tree622af6a0c44a45e809d64803c8e78d899338ea94 /usr.bin
parent445180a7809bb95b8f19181999cec0431fe481d1 (diff)
we actually want CVS_FST_UNKNOWN here.
problem reported by Nuno once more. ok from an enthousiastic xsa@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index 38f59524d41..dc462e3e1ba 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.26 2005/07/27 17:53:54 xsa Exp $ */
+/* $OpenBSD: add.c,v 1.27 2005/07/30 00:01:50 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -131,7 +131,7 @@ cvs_add_remote(CVSFILE *cf, void *arg)
return (ret);
}
- if (cf->cf_cvstat == CVS_FST_ADDED)
+ if (cf->cf_cvstat == CVS_FST_UNKNOWN)
ret = cvs_sendreq(root, CVS_REQ_ISMODIFIED,
cf->cf_name);