[gnus git] branch master updated: n0-12-10-g5a261cd

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  5a261cd1d6bb7fdf436d81f3aea7eac9bd58787a (commit)
      from  00cc8dae5781e00054be60c930437634fc880667 (commit)


- Log -----------------------------------------------------------------
commit 5a261cd1d6bb7fdf436d81f3aea7eac9bd58787a
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 21 15:35:44 2011 -0800

    auth-source expects strings as port numbers, so make sure it gets that if nnimap-server-port is explicit.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c806913..7981083 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-21  Lars Ingebrigtsen  <[email protected]>
+
+	* nnimap.el (nnimap-open-connection-1): auth-source expects strings as
+	port numbers, so make sure it gets that if nnimap-server-port is
+	explicit.
+
 2011-02-21  Simon Josefsson  <[email protected]>
 
 	* nnimap.el (nnimap-inbox): Doc fix.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 138875b..af25dfb 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -351,7 +351,7 @@ textual parts.")
 	   (proto-stream-always-use-starttls t)
            login-result credentials)
       (when nnimap-server-port
-	(setq ports (append ports (list nnimap-server-port))))
+	(setq ports (append ports (list (format "%s" nnimap-server-port)))))
       (destructuring-bind (stream greeting capabilities stream-type)
 	  (open-protocol-stream
 	   "*nnimap*" (current-buffer) nnimap-address (car (last ports))

-----------------------------------------------------------------------
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 |    6 ++++++
 lisp/nnimap.el |    2 +-
 2 files changed, 7 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.