aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2008-12-02 20:48:45 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2008-12-02 20:48:45 +0000
commit627156f11937eeb86d7048a8e71b495f43823b86 (patch)
tree467f705a4f18a88c158ceba80d1873bc379ddf8b
parentab0135bc74d907e1f054a4eeafba6f6a62c204cc (diff)
Notes
-rw-r--r--contrib/csup/rcsfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/rcsfile.c b/contrib/csup/rcsfile.c
index 5e192055bbd0..267b8b145d4f 100644
--- a/contrib/csup/rcsfile.c
+++ b/contrib/csup/rcsfile.c
@@ -1207,7 +1207,7 @@ rcsfile_insertdelta(struct branch *b, struct delta *d, int trunk)
} else {
/* XXX: here we depend on the date being set, but it
* should be before this is called anyway. */
- if (rcsnum_cmp(d->revdate, d2->revdate) <= 0) {
+ if (rcsnum_cmp(d->revdate, d2->revdate) < 0) {
LIST_INSERT_BEFORE(d2, d, delta_next);
return;
}