[gnus git] branch master updated: m0-9-43-g3473191 =1= Address parsing fixup

Lars Ingebrigtsen <[email protected]> Fri, 07 Feb 2014 01:15:17 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  3473191dc8a1fe61f874555a230284a7210f0442 (commit)
      from  695bf00831204cdf6d71d174f184cb4743262366 (commit)


- Log -----------------------------------------------------------------
commit 3473191dc8a1fe61f874555a230284a7210f0442
Author: Lars Ingebrigtsen <[email protected]>
Date:   Thu Feb 6 16:13:55 2014 -0800

    Address parsing fixup
    
    * ietf-drums.el (ietf-drums-parse-address): Don't bug out when called
    with an empty string.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 06f9e27..e6f22e4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-07  Lars Ingebrigtsen  <[email protected]>
+
+	* ietf-drums.el (ietf-drums-parse-address): Don't bug out when called
+	with an empty string.
+
 2014-02-06  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus-msg.el (gnus-summary-cancel-article): `user-mail-address' is
diff --git a/lisp/ietf-drums.el b/lisp/ietf-drums.el
index d46f288..1121368 100644
--- a/lisp/ietf-drums.el
+++ b/lisp/ietf-drums.el
@@ -214,7 +214,8 @@ backslash and doublequote.")
 		(mapconcat 'identity (reverse display-name) " "))
 	(setq display-string (ietf-drums-get-comment string)))
       (if (not mailbox)
-	  (when (string-match "@" display-string)
+	  (when (and display-string
+		     (string-match "@" display-string))
 	    (cons
 	     (mapconcat 'identity (nreverse display-name) "")
 	     (ietf-drums-get-comment string)))

-----------------------------------------------------------------------
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     |    5 +++++
 lisp/ietf-drums.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

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