summaryrefslogtreecommitdiff
path: root/mh/repl.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-04-12 09:20:47 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-04-12 09:20:47 +0300
commitec100ee63e55ba60369363c72d6d2e1fbc3663a2 (patch)
treeb6f30d165f6fade93bbd806171ffd58de05a6148 /mh/repl.c
parentd7dec96841e872ffa6924d6c5f93a1be473bf8ff (diff)
downloadmailutils-ec100ee63e55ba60369363c72d6d2e1fbc3663a2.tar.gz
mailutils-ec100ee63e55ba60369363c72d6d2e1fbc3663a2.tar.bz2
Implement MH show utility.
* mh/show.c: New file. * NEWS: Document changes. * libmailutils/stream/message_stream.c (copy_trimmed_value): Fix string length calculation to allow for empty lines. * mh/.gitignore: Update. * mh/Makefile.am: Build show. * mh/TODO: Document show. * mh/mh_getopt.h: Add new option codes. * mh/mh_init.c (mh_expand_name): Change handling of the last argument. All callers updated. (mh_draft_name): Remove.
Diffstat (limited to 'mh/repl.c')
-rw-r--r--mh/repl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mh/repl.c b/mh/repl.c
index 8500966a1..00128951e 100644
--- a/mh/repl.c
+++ b/mh/repl.c
@@ -418,14 +418,14 @@ main (int argc, char **argv)
}
if (build_only)
- wh_env.file = mh_expand_name (draftfolder, "reply", 0);
+ wh_env.file = mh_expand_name (draftfolder, "reply", NAME_ANY);
else if (draftfolder)
{
if (mh_draft_message (draftfolder, draftmessage, &wh_env.file))
return 1;
}
else
- wh_env.file = mh_expand_name (draftfolder, "draft", 0);
+ wh_env.file = mh_expand_name (draftfolder, "draft", NAME_ANY);
wh_env.draftfile = wh_env.file;
make_draft (mbox, DISP_REPLACE, &wh_env);

Return to:

Send suggestions and report system problems to the System administrator.