changeset 110196:fcc33f6790e5

pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 05 Sep 2010 01:12:51 +0000
parents 48695a2e29d9
children 727cc5d69397
files lisp/gnus/ChangeLog lisp/gnus/pop3.el
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sun Sep 05 01:08:22 2010 +0000
+++ b/lisp/gnus/ChangeLog	Sun Sep 05 01:12:51 2010 +0000
@@ -1,5 +1,7 @@
 2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+	* pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
+
 	* mail-source.el (mail-source-delete-crash-box): Only check the
 	incoming files for deletion once per day to save a lot of file
 	accesses.
--- a/lisp/gnus/pop3.el	Sun Sep 05 01:08:22 2010 +0000
+++ b/lisp/gnus/pop3.el	Sun Sep 05 01:12:51 2010 +0000
@@ -144,8 +144,8 @@
 	(pop3-write-to-file file)
 	(unless pop3-leave-mail-on-server
 	  (pop3-send-streaming-command
-	   process "DELE" message-count nil))
-	(pop3-quit process)))))
+	   process "DELE" message-count nil))))
+    (pop3-quit process)))
 
 (defun pop3-send-streaming-command (process command count total-size)
   (erase-buffer)