summaryrefslogtreecommitdiff
path: root/mh/whom.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/whom.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/whom.c')
-rw-r--r--mh/whom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mh/whom.c b/mh/whom.c
index e4422c91c..5e3ac2b37 100644
--- a/mh/whom.c
+++ b/mh/whom.c
@@ -118,6 +118,6 @@ main (int argc, char **argv)
mu_folder_directory ());
- return mh_whom (mh_expand_name (draft_folder, name, 0), check_recipients) ?
- 1 : 0;
+ return mh_whom (mh_expand_name (draft_folder, name, NAME_ANY),
+ check_recipients) ? 1 : 0;
}

Return to:

Send suggestions and report system problems to the System administrator.