From MAILER-DAEMON Thu Nov 05 12:09:11 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1N65pe-00088p-SB
	for mharc-commit-mailutils@gnu.org; Thu, 05 Nov 2009 12:09:10 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1N65pc-00086d-OJ
	for commit-mailutils@gnu.org; Thu, 05 Nov 2009 12:09:08 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1N65pZ-000844-W9
	for commit-mailutils@gnu.org; Thu, 05 Nov 2009 12:09:06 -0500
Received: from [199.232.76.173] (port=42319 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1N65pZ-00083o-NB
	for commit-mailutils@gnu.org; Thu, 05 Nov 2009 12:09:05 -0500
Received: from savannah.gnu.org ([199.232.41.3]:48553 helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <INVALID.NOREPLY@gnu.org>)
	id 1N65pZ-00068r-C6
	for commit-mailutils@gnu.org; Thu, 05 Nov 2009 12:09:05 -0500
Received: from [10.1.0.109] (helo=cvs.savannah.gnu.org)
	by sv.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1N65pY-0007Mi-OU
	for commit-mailutils@gnu.org; Thu, 05 Nov 2009 17:09:04 +0000
Received: from gray by cvs.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1N65pY-0007MC-DR
	for commit-mailutils@gnu.org; Thu, 05 Nov 2009 17:09:04 +0000
From: "Sergey Poznyakoff" <gray@gnu.org.ua>
To: commit-mailutils@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 9d8856eddd63aee7147e9601a27052899a72a73c
X-Git-Newrev: 8594f053df8ed4de9735f40355fd5608eab1cfb9
Message-Id: <E1N65pY-0007MC-DR@cvs.savannah.gnu.org>
Date: Thu, 05 Nov 2009 17:09:04 +0000
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: [SCM] GNU Mailutils branch, master, updated. rel-2_1-13-g8594f05
X-BeenThere: commit-mailutils@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Commit notices for GNU mailutils <commit-mailutils.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/commit-mailutils>,
	<mailto:commit-mailutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/commit-mailutils>
List-Post: <mailto:commit-mailutils@gnu.org>
List-Help: <mailto:commit-mailutils-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/commit-mailutils>,
	<mailto:commit-mailutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Nov 2009 17:09:09 -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=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 <gray@gnu.org.ua>
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



