[gnus git] branch master updated: n0-17-5-g94e8dd6 =1= * pop3.el (pop3-open-server): Error messages are "-ERR".

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  94e8dd619fda405840c02d807a2c5e978e34a602 (commit)
      from  fade45488a2431d3b7b39f24d4fc78b43a443461 (commit)


- Log -----------------------------------------------------------------
commit 94e8dd619fda405840c02d807a2c5e978e34a602
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon May 2 02:58:13 2011 +0200

    * pop3.el (pop3-open-server): Error messages are "-ERR".

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 17a2f4e..aae2d14 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-02  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* pop3.el (pop3-open-server): Error messages are "-ERR".
+
 2011-05-01  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
diff --git a/lisp/pop3.el b/lisp/pop3.el
index 3ca5cab..96b2ae1 100644
--- a/lisp/pop3.el
+++ b/lisp/pop3.el
@@ -306,7 +306,7 @@ Returns the process associated with the connection."
 		    (t
 		     (or pop3-stream-type 'network)))
 	     :capability-command "CAPA\r\n"
-	     :end-of-command "^\\.\r?\n\\|^\\+[A-Z]+ .*\n"
+	     :end-of-command "^\\.\r?\n\\|^\\(-ERR\\|+OK \\).*\n"
 	     :success "^\\+OK.*\n"
 	     :return-list t
 	     :starttls-function

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    4 ++++
 lisp/pop3.el   |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.