[gnus git] branch master updated: m0-3-41-g2f98c21 =1= nntp.el (nntp-send-authinfo): Fix last change.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  2f98c21d9a09db1defff84a39dbc01eac3b1eb9c (commit)
      from  0d852088d91457ac4a08532ceb73f07aa1b37649 (commit)


- Log -----------------------------------------------------------------
commit 2f98c21d9a09db1defff84a39dbc01eac3b1eb9c
Author: Katsumi Yamaoka <[email protected]>
Date:   Sat Feb 25 00:38:51 2012 +0000

    nntp.el (nntp-send-authinfo): Fix last change.

diff --git a/lisp/nntp.el b/lisp/nntp.el
index 5bb908e..d2c7654 100644
--- a/lisp/nntp.el
+++ b/lisp/nntp.el
@@ -1196,11 +1196,9 @@ If SEND-IF-FORCE, only send authinfo to the server if the
          (auth-info
           (nth 0 (auth-source-search
 		  :max 1
-		  :host (list nntp-address
-			      (nnoo-current-server 'nntp))
-		  :port (or (cdr (assoc (format "%s" nntp-port-number)
-					'(("563" . ("563" "nntps" "snews")))))
-			    '("119" "nntp")))))
+		  :host (list nntp-address (nnoo-current-server 'nntp))
+		  :port `("119" "nntp" ,(format "%s" nntp-port-number)
+			  "563" "nntps" "snews"))))
          (auth-user (plist-get auth-info :user))
          (auth-force (plist-get auth-info :force))
          (auth-passwd (plist-get auth-info :secret))

-----------------------------------------------------------------------
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/nntp.el |    8 +++-----
 1 files changed, 3 insertions(+), 5 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.