diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-05 19:08:29 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-05 19:08:29 +0200 |
commit | 8594f053df8ed4de9735f40355fd5608eab1cfb9 (patch) | |
tree | 1e600e17c5575d225c0cc54aa2757b3ae68aa6d4 /mail | |
parent | 9d8856eddd63aee7147e9601a27052899a72a73c (diff) | |
download | mailutils-8594f053df8ed4de9735f40355fd5608eab1cfb9.tar.gz mailutils-8594f053df8ed4de9735f40355fd5608eab1cfb9.tar.bz2 |
Bugfix.
* mail/mail.c (parse_opt): Fix handling of the --user option.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail.c b/mail/mail.c index 426a1644f..4f4c879df 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: |