Fix diskFrontier.ContainsFingerprint() return value.

pull/84/head
Julius Volz 12 years ago committed by Matt T. Proud
parent 47ce7ad302
commit a224dda9f0

@ -39,7 +39,7 @@ func (f *diskFrontier) String() string {
} }
func (f *diskFrontier) ContainsFingerprint(fingerprint model.Fingerprint) bool { 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) { func newDiskFrontier(i iterator) (d *diskFrontier, err error) {

Loading…
Cancel
Save