aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2010-09-05 01:12:51 +0000
committerKatsumi Yamaoka2010-09-05 01:12:51 +0000
commitff3eb82e0e0dfaf6976b0788eb2195b7be843226 (patch)
treeb01471264d8639fc9e1e901b1f2c56f5b7d69cbe
parenta2bb410e5853678e32bb8e795b70d18609bb83d0 (diff)
downloademacs-ff3eb82e0e0dfaf6976b0788eb2195b7be843226.tar.gz
emacs-ff3eb82e0e0dfaf6976b0788eb2195b7be843226.zip
pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
-rw-r--r--lisp/gnus/ChangeLog2
-rw-r--r--lisp/gnus/pop3.el4
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 5bd02f73bbf..a4115615452 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,7 @@
12010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> 12010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
4
3 * mail-source.el (mail-source-delete-crash-box): Only check the 5 * mail-source.el (mail-source-delete-crash-box): Only check the
4 incoming files for deletion once per day to save a lot of file 6 incoming files for deletion once per day to save a lot of file
5 accesses. 7 accesses.
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el
index ca92046f1a8..51c2f1ae987 100644
--- a/lisp/gnus/pop3.el
+++ b/lisp/gnus/pop3.el
@@ -144,8 +144,8 @@ Use streaming commands."
144 (pop3-write-to-file file) 144 (pop3-write-to-file file)
145 (unless pop3-leave-mail-on-server 145 (unless pop3-leave-mail-on-server
146 (pop3-send-streaming-command 146 (pop3-send-streaming-command
147 process "DELE" message-count nil)) 147 process "DELE" message-count nil))))
148 (pop3-quit process))))) 148 (pop3-quit process)))
149 149
150(defun pop3-send-streaming-command (process command count total-size) 150(defun pop3-send-streaming-command (process command count total-size)
151 (erase-buffer) 151 (erase-buffer)