diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-02-22 22:27:21 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-02-22 22:27:21 +0000 |
commit | 32cdeb0d3221429feb65653723ea98c13503f585 (patch) | |
tree | a60cbc00410172d36add130dabb53200d4f4939d | |
parent | 6760ea1ebc3f2f310e2942d61b6c19b367b767f3 (diff) | |
download | mailutils-32cdeb0d3221429feb65653723ea98c13503f585.tar.gz mailutils-32cdeb0d3221429feb65653723ea98c13503f585.tar.bz2 |
Fixed expanding of the draftfile name
-rw-r--r-- | mh/refile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mh/refile.c b/mh/refile.c index fab8b11f8..b33e446bd 100644 --- a/mh/refile.c +++ b/mh/refile.c @@ -155,7 +155,7 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) break; case ARG_DRAFT: - source_file = mh_expand_name (NULL, "draft", 0); + source_file = "draft"; break; case ARG_LINK: @@ -251,7 +251,7 @@ main (int argc, char **argv) mh_error (_("both message set and source file given")); exit (1); } - msg = mh_file_to_message (NULL, source_file); + msg = mh_file_to_message (mu_path_folder_dir, source_file); refile (msg); if (!link_flag) unlink (source_file); |