diff options
| author | Lars Magne Ingebrigtsen | 2011-06-22 11:13:50 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-06-22 11:13:50 +0200 |
| commit | 396f7c9d288de829438b3d72c5ffb7ceb3bfa655 (patch) | |
| tree | 96f97425effcb1e2dc1107adb637df14d5df450c | |
| parent | 8998d1b3e8d8f53f3bf46b6a0b7ea89c8676811f (diff) | |
| download | emacs-396f7c9d288de829438b3d72c5ffb7ceb3bfa655.tar.gz emacs-396f7c9d288de829438b3d72c5ffb7ceb3bfa655.zip | |
(smtpmail-via-smtp): Make sure we don't send QUIT twice.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/smtpmail.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bfb630c5e3d..e5c2e2ad628 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send | ||
| 4 | QUIT twice. | ||
| 5 | |||
| 1 | 2011-06-22 Martin Rudalics <rudalics@gmx.at> | 6 | 2011-06-22 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * window.el (display-buffer-default-specifiers) | 8 | * window.el (display-buffer-default-specifiers) |
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 7385eab4977..58a517ba836 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el | |||
| @@ -741,6 +741,7 @@ The list is in preference order.") | |||
| 741 | (smtpmail-send-command process "QUIT") | 741 | (smtpmail-send-command process "QUIT") |
| 742 | (smtpmail-read-response process) | 742 | (smtpmail-read-response process) |
| 743 | (delete-process process) | 743 | (delete-process process) |
| 744 | (setq process nil) | ||
| 744 | (throw 'done | 745 | (throw 'done |
| 745 | (smtpmail-via-smtp recipient smtpmail-text-buffer t))) | 746 | (smtpmail-via-smtp recipient smtpmail-text-buffer t))) |
| 746 | (t | 747 | (t |
| @@ -768,6 +769,7 @@ The list is in preference order.") | |||
| 768 | (smtpmail-send-command process "QUIT") | 769 | (smtpmail-send-command process "QUIT") |
| 769 | (smtpmail-read-response process) | 770 | (smtpmail-read-response process) |
| 770 | (delete-process process) | 771 | (delete-process process) |
| 772 | (setq process nil) | ||
| 771 | (throw 'done | 773 | (throw 'done |
| 772 | (smtpmail-via-smtp recipient smtpmail-text-buffer t))) | 774 | (smtpmail-via-smtp recipient smtpmail-text-buffer t))) |
| 773 | (t | 775 | (t |