This commit was generated by cvs2svn to compensate for changes in r3558,
[elisp/gnus.git-] / lisp / gnus-demon.el
index 4311941..0015a90 100644 (file)
@@ -268,7 +268,8 @@ minutes, the connection is closed."
 
 (defun gnus-demon-nntp-close-connection ()
   (save-window-excursion
-    (when (time-less-p '(0 300) (time-since nntp-last-command-time))
+    (when (nnmail-time-less '(0 300)
+                           (nnmail-time-since nntp-last-command-time))
       (nntp-close-server))))
 
 (defun gnus-demon-add-scanmail ()