diff options
| author | Lars Magne Ingebrigtsen | 2010-09-05 01:12:51 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-05 01:12:51 +0000 |
| commit | ff3eb82e0e0dfaf6976b0788eb2195b7be843226 (patch) | |
| tree | b01471264d8639fc9e1e901b1f2c56f5b7d69cbe | |
| parent | a2bb410e5853678e32bb8e795b70d18609bb83d0 (diff) | |
| download | emacs-ff3eb82e0e0dfaf6976b0788eb2195b7be843226.tar.gz emacs-ff3eb82e0e0dfaf6976b0788eb2195b7be843226.zip | |
pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
| -rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/gnus/pop3.el | 4 |
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 @@ | |||
| 1 | 2010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-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) |