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 "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=4616b75f8a0e1d6fbbff7b20f418bc39c44ee34f

The branch, master has been updated
       via  4616b75f8a0e1d6fbbff7b20f418bc39c44ee34f (commit)
      from  1e7a81ad25005ac5268e43a39c9c9dd9d8906557 (commit)

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

- Log -----------------------------------------------------------------
commit 4616b75f8a0e1d6fbbff7b20f418bc39c44ee34f
Author: Sergey Poznyakoff <g...@gnu.org.ua>
Date:   Tue Apr 7 20:17:15 2009 +0300

    Bugfix.
    
    * mailbox/mbx_default.c (mu_mailbox_create_default): Reset mail to NULL
    if it is "".

-----------------------------------------------------------------------

Summary of changes:
 mailbox/mbx_default.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/mailbox/mbx_default.c b/mailbox/mbx_default.c
index 1ce2389..ac7f9b1 100644
--- a/mailbox/mbx_default.c
+++ b/mailbox/mbx_default.c
@@ -1,6 +1,6 @@
 /* GNU Mailutils -- a suite of utilities for electronic mail
    Copyright (C) 1999, 2000, 2001, 2003, 2004, 
-   2005, 2006, 2007 Free Software Foundation, Inc.
+   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -394,7 +394,10 @@ mu_mailbox_create_default (mu_mailbox_t *pmbox, const char 
*mail)
   if (pmbox == NULL)
     return MU_ERR_OUT_PTR_NULL;
 
-  if (mail == NULL || *mail == '\0')
+  if (mail && *mail == 0)
+    mail = NULL;
+  
+  if (mail == NULL)
     {
       if (!_mu_mailbox_pattern)
        {


hooks/post-receive
--
GNU Mailutils


_______________________________________________
Commit-mailutils mailing list
Commit-mailutils@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-mailutils

Reply via email to