diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-12 09:20:47 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-04-12 09:20:47 +0300 |
commit | ec100ee63e55ba60369363c72d6d2e1fbc3663a2 (patch) | |
tree | b6f30d165f6fade93bbd806171ffd58de05a6148 /mh/whom.c | |
parent | d7dec96841e872ffa6924d6c5f93a1be473bf8ff (diff) | |
download | mailutils-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |