summaryrefslogtreecommitdiff
path: root/mail/mailvar.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-05 02:13:53 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-07-05 02:23:27 +0300
commit5e1d982ec31de34b7bf7ca6b84172966ebf9d917 (patch)
tree88a833ab5d72d7b82d9e127f14bde6016928384c /mail/mailvar.c
parent1b5098c98df757ad24841bcc8b5350a64c07a25a (diff)
downloadmailutils-5e1d982ec31de34b7bf7ca6b84172966ebf9d917.tar.gz
mailutils-5e1d982ec31de34b7bf7ca6b84172966ebf9d917.tar.bz2
Allow caller to set up custom in,out,err,progname,tag before calling mu_app_init.
* include/mailutils/stdstream.h (MU_STDSTREAM_RESET_STRIN) (MU_STDSTREAM_RESET_STROUT,MU_STDSTREAM_RESET_STRERR) (MU_STDSTREAM_RESET_NONE,MU_STDSTREAM_RESET_ALL): New flags. (mu_stdstream_setup): Change signature. All uses updated. * libmailutils/stdstream/basestr.c (mu_stdstream_setup): Use the flags argument to decide whether to close existing streams. Make sure stdstream_flushall enters the onexit queue only once. * libmu_argp/muinit.c (mu_app_init): Don't override variables that may be set by the caller (program_name, tag, streams).
Diffstat (limited to 'mail/mailvar.c')
-rw-r--r--mail/mailvar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mailvar.c b/mail/mailvar.c
index 3ed78ebd9..0413fbda8 100644
--- a/mail/mailvar.c
+++ b/mail/mailvar.c
@@ -164,7 +164,7 @@ struct mailvar_symbol mailvar_tab[] =
{ { "metamail", },
MAILVAR_TYPEMASK (mailvar_type_boolean),
N_("interpret the content of message parts; if set to a string "
- "specifies the name of the externam metamail command") },
+ "specifies the name of the external metamail command") },
{ { "metoo", },
MAILVAR_TYPEMASK (mailvar_type_boolean),
N_("do not remove sender addresses from the recipient list") },

Return to:

Send suggestions and report system problems to the System administrator.