(spam-stat-test-directory): Compare against zero.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 1 May 2003 14:14:31 +0000 (14:14 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 1 May 2003 14:14:31 +0000 (14:14 +0000)
lisp/ChangeLog
lisp/spam-stat.el

index e7be667..da9d6f8 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * spam-stat.el (spam-stat-test-directory): Compare against zero. 
+
 2003-05-01  Trey Jackson <tjackson@ichips.intel.com>  (tiny change)
 
        * spam-stat.el (spam-stat-test-directory): Skip 0 length files.
index 66d4ff3..96df016 100644 (file)
@@ -542,7 +542,7 @@ You can use this to determine error rates."
       (dolist (f files)
        (when (and (file-readable-p f)
                   (file-regular-p f)
-                   (> (nth 7 (file-attributes f))))
+                   (> (nth 7 (file-attributes f)) 0))
          (setq count (1+ count))
          (message "Reading %.2f%%, score %.2f%%"
                   (/ count max) (/ score count))