commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg-226-g45540e1
Date: Thu, 19 Feb 2009 00:40:58 +0000

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=45540e1d4744eaea8a86f7e7f03fc6f6f3000cf5

The branch, master has been updated
       via  45540e1d4744eaea8a86f7e7f03fc6f6f3000cf5 (commit)
       via  c1851318b12fd5a77c6a2c30e7801f5faa9941b7 (commit)
      from  72d640b2d7d0d4722890f443c2a55ac410bf6e7e (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 45540e1d4744eaea8a86f7e7f03fc6f6f3000cf5
Merge: c1851318b12fd5a77c6a2c30e7801f5faa9941b7 
72d640b2d7d0d4722890f443c2a55ac410bf6e7e
Author: Sergey Poznyakoff <address@hidden>
Date:   Thu Feb 19 02:40:33 2009 +0200

    Merge branch 'master' of ssh://address@hidden/srv/git/mailutils

commit c1851318b12fd5a77c6a2c30e7801f5faa9941b7
Author: Sergey Poznyakoff <address@hidden>
Date:   Thu Feb 19 02:40:07 2009 +0200

    Bugfix
    
    * libproto/mailer/prog.c (_expand_sender): Allocate memory.

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

Summary of changes:
 libproto/mailer/prog.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libproto/mailer/prog.c b/libproto/mailer/prog.c
index 7d6666e..5884553 100644
--- a/libproto/mailer/prog.c
+++ b/libproto/mailer/prog.c
@@ -138,12 +138,12 @@ static int
 _expand_sender (const char *name, void *data, char **p)
 {
   mu_address_t addr = data;
-  const char *email;
-  int status = mu_address_sget_email (addr, 1, &email);
+  char *email;
+  int status = mu_address_aget_email (addr, 1, &email);
 
   if (status != 0)
     return status;
-  *(const char**)p = email;
+  *p = email;
   return 0;
 }
 


hooks/post-receive
--
GNU Mailutils




reply via email to

[Prev in Thread] Current Thread [Next in Thread]