Synch to No Gnus 200503100922.
authoryamaoka <yamaoka>
Thu, 10 Mar 2005 10:22:21 +0000 (10:22 +0000)
committeryamaoka <yamaoka>
Thu, 10 Mar 2005 10:22:21 +0000 (10:22 +0000)
lisp/ChangeLog
lisp/nnimap.el

index f19bb21..3e45e95 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-10  Arne J\e,Ax\e(Brgensen <arne@arnested.dk>  (tiny change)
+
+       * nnimap.el (nnimap-retrieve-headers-from-server): Fix off-by-one
+       flaw.
+
 2005-03-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-msg.el (gnus-confirm-mail-reply-to-news): Add
index be300ec..ba1520c 100644 (file)
@@ -712,7 +712,7 @@ If EXAMINE is non-nil the group is selected read-only."
                                (format "BODY.PEEK[HEADER.FIELDS %s])" headers)
                              (format "RFC822.HEADER.LINES %s)" headers)))))
       (with-current-buffer nntp-server-buffer
-       (sort-numeric-fields 1 1 (buffer-size)))
+       (sort-numeric-fields 1 (point-min) (point-max)))
       (and (numberp nnmail-large-newsgroup)
           (> nnimap-length nnmail-large-newsgroup)
           (nnheader-message 6 "nnimap: Retrieving headers...done")))))