Commit 8594f053 8594f053df8ed4de9735f40355fd5608eab1cfb9 by Sergey Poznyakoff

Bugfix.

* mail/mail.c (parse_opt): Fix handling of the --user option.
1 parent 9d8856ed
......@@ -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:
......