From f064bcf8759c35e1070d92053495111aac30ca2c Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 5 Sep 2010 00:31:41 +0200 Subject: [PATCH 1/1] Off-by-one error on the request loop (for debugging purposes) removed. --- lisp/pop3.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/pop3.el b/lisp/pop3.el index 3d992cc91..ed311aa88 100644 --- a/lisp/pop3.el +++ b/lisp/pop3.el @@ -150,7 +150,7 @@ Use streaming commands." (defun pop3-send-streaming-command (process command count total-size) (erase-buffer) (let ((i 1)) - (while (>= (1+ count) i) + (while (>= count i) (process-send-string process (format "%s %d\r\n" command i)) ;; Only do 100 messages at a time to avoid pipe stalls. (when (zerop (% i 100)) -- 2.25.1