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=f73a07073ac2c6b08315371a5b92352a81c0c3cc

The branch, master has been updated
       via  f73a07073ac2c6b08315371a5b92352a81c0c3cc (commit)
      from  d6d78fad1073dc4b1da28696a5aec01b6460ad29 (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 f73a07073ac2c6b08315371a5b92352a81c0c3cc
Author: Sergey Poznyakoff <g...@gnu.org.ua>
Date:   Tue May 18 14:05:36 2010 +0300

    Bugfix.
    
    * mailbox/url.c (_url_path_default): Fix improper use of
    sizeof (a typo, probably).

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

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

diff --git a/mailbox/url.c b/mailbox/url.c
index 5580f8c..1b833bf 100644
--- a/mailbox/url.c
+++ b/mailbox/url.c
@@ -952,7 +952,7 @@ mu_url_init (mu_url_t url, int port, const char *scheme)
 static char *
 _url_path_default (const char *spooldir, const char *user, int unused)
 {
-  char *mbox = malloc (sizeof(spooldir) + strlen(user) + 2);
+  char *mbox = malloc (strlen (spooldir) + strlen (user) + 2);
   if (!mbox)
     errno = ENOMEM;
   else


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