Fix diskFrontier.ContainsFingerprint() return value.

This commit is contained in:
Julius Volz 2013-03-14 18:29:42 -07:00 committed by Matt T. Proud
parent 47ce7ad302
commit a224dda9f0
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func (f *diskFrontier) String() string {
}
func (f *diskFrontier) ContainsFingerprint(fingerprint model.Fingerprint) bool {
return fingerprint.Less(f.firstFingerprint) || f.lastFingerprint.Less(fingerprint)
return !(fingerprint.Less(f.firstFingerprint) || f.lastFingerprint.Less(fingerprint))
}
func newDiskFrontier(i iterator) (d *diskFrontier, err error) {