summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/remote.c')
-rw-r--r--usr.bin/cvs/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/remote.c b/usr.bin/cvs/remote.c
index f1ba28eb0ca..5ebf0b6dae4 100644
--- a/usr.bin/cvs/remote.c
+++ b/usr.bin/cvs/remote.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remote.c,v 1.25 2009/02/21 14:50:53 joris Exp $ */
+/* $OpenBSD: remote.c,v 1.26 2009/04/01 06:41:58 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -271,7 +271,7 @@ cvs_remote_classify_file(struct cvs_file *cf)
fatal("cvs_remote_classify_file(%s): %s", cf->file_path,
strerror(errno));
- if (st.st_mtime != cf->file_ent->ce_mtime)
+ if (st.st_mtime != cf->file_ent->ce_mtime || cf->file_ent != NULL)
cf->file_status = FILE_MODIFIED;
else
cf->file_status = FILE_UPTODATE;