Commit fa7f427c authored by David Kastrup's avatar David Kastrup Committed by Katsumi Yamaoka
Browse files

lisp/gnus/auth-source.el (auth-source-netrc-parse-one): Allow empty strings in...

lisp/gnus/auth-source.el (auth-source-netrc-parse-one): Allow empty strings in authinfo file again (important for blank passwords).  This had been broken with 2013-06-15 change
parent 3504a4be
2013-07-05 David Kastrup <dak@gnu.org>
* auth-source.el (auth-source-netrc-parse-one): Allow empty strings in
authinfo file again (important for blank passwords). This had been
broken with 2013-06-15 change.
2013-07-03 Katsumi Yamaoka <yamaoka@jpl.org>
 
* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
......
......@@ -1048,8 +1048,8 @@ Note that the MAX parameter is used so we can exit the parse early."
"Read one thing from the current buffer."
(auth-source-netrc-parse-next-interesting)
(when (or (looking-at "'\\([^']+\\)'")
(looking-at "\"\\([^\"]+\\)\"")
(when (or (looking-at "'\\([^']*\\)'")
(looking-at "\"\\([^\"]*\\)\"")
(looking-at "\\([^ \t\n]+\\)"))
(forward-char (length (match-string 0)))
(auth-source-netrc-parse-next-interesting)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment