[SCM] GNU Mailutils branch, master, updated. rel-2_1-13-g8594f05

"Sergey Poznyakoff" <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.cvs
Message-ID <[email protected]>
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=8594f053df8ed4de9735f40355fd5608eab1cfb9

The branch, master has been updated
       via  8594f053df8ed4de9735f40355fd5608eab1cfb9 (commit)
      from  9d8856eddd63aee7147e9601a27052899a72a73c (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 8594f053df8ed4de9735f40355fd5608eab1cfb9
Author: Sergey Poznyakoff <[email protected]>
Date:   Thu Nov 5 19:08:29 2009 +0200

    Bugfix.
    
    * mail/mail.c (parse_opt): Fix handling of the --user option.

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

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

diff --git a/mail/mail.c b/mail/mail.c
index 426a164..4f4c879 100644
--- a/mail/mail.c
+++ b/mail/mail.c
@@ -183,6 +183,8 @@ parse_opt (int key, char *arg, struct argp_state *state)
 	}
       else if (args->argc || (args->hint & HINT_SEND_MODE))
 	util_cache_command (&command_list, "setq mode=send");
+      else if (args->user)
+	asprintf (&args->file, "%%%s", args->user);
       break;
       
     default:


hooks/post-receive
-- 
GNU Mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.