Date: Tue, 08 Aug 2000 00:18:48 +0200 From: Lorenzo Campedelli To: htdig3-dev Subject: [htdig3-dev] PATCH : Prevent duplicates --- htdig-3.2.0b2/htmerge/db.cc.orig Mon Aug 7 12:37:23 2000 +++ htdig-3.2.0b2/htmerge/db.cc Mon Aug 7 12:38:39 2000 @@ -136,7 +136,7 @@ // Oh well, we knew this would happen. Let's get the duplicate // And we'll only use the most recent date. - if ( old_ref->DocTime() > ref->DocTime() ) + if ( old_ref->DocTime() >= ref->DocTime() ) { // Cool, the ref we're merging is too old, just ignore it char str[20];