diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-21 00:52:59 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-21 00:57:44 +0300 |
commit | 5171c0f91ea69eacd76068661db628f46f267c9e (patch) | |
tree | d8e4ab6a41945cb78b682e212f778862b89f24bd /mh/mh_whatnow.c | |
parent | b9aaf724c6428fb4e0d01950d4d7113671e048e5 (diff) | |
download | mailutils-5171c0f91ea69eacd76068661db628f46f267c9e.tar.gz mailutils-5171c0f91ea69eacd76068661db628f46f267c9e.tar.bz2 |
Minor fixes.
* .gitignore: Add pathdefs.h
* examples/Makefile.am (muauth_CPPFLAGS)
(muemail_CPPFLAGS): New variables.
* examples/argcv.c (main): Remove unused local.
* include/mailutils/gsasl.h [USE_GSASL]: Change to WITH_GSASL.
* include/mailutils/libcfg.h (mu_acl_cfg_init): New prototype.
* include/mailutils/mu_auth.h (mu_authenticate): Password is const.
* include/mailutils/python.h: Fix indentation.
(mu_py_script_data): module_name is const char *.
* libmu_auth/radius.c: Include radius/debug.h
* libproto/mailer/smtp.c: Include io.h and secret.h
* mail/mail.c: Fix indentation.
* mail/util.c (util_rfc2047_decode): Fix local variable declaration.
* mailbox/mu_auth.c (mu_authenticate): Password is const.
* mh/mh.h (mh_alias_get, mh_alias_get_address)
(mh_alias_get_alias): Name is const.
* mh/mh_alias.y: Likewise.
* mh/mh_list.c (print_header_value): Fix improper use of mu_toupper.
* mh/mh_whatnow.c (invoke): Add typecasts.
* python/libmu_py/nls.c (api_nls_set_locale): Remove unused automatic.
* python/libmu_py/sieve.c (_sieve_error_printer): Provide missing
return value.
(_sieve_debug_printer): Likewise.
Diffstat (limited to 'mh/mh_whatnow.c')
-rw-r--r-- | mh/mh_whatnow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mh/mh_whatnow.c b/mh/mh_whatnow.c index ba251af52..943af3e77 100644 --- a/mh/mh_whatnow.c +++ b/mh/mh_whatnow.c @@ -257,13 +257,13 @@ invoke (const char *compname, const char *defval, int argc, char **argv, return -1; } - xargv[0] = progname; + xargv[0] = (char*) progname; for (i = 1; i < argc; i++) xargv[i] = argv[i]; if (extra0) - xargv[i++] = extra0; + xargv[i++] = (char*) extra0; if (extra1) - xargv[i++] = extra1; + xargv[i++] = (char*) extra1; xargv[i++] = NULL; rc = mu_spawnvp (xargv[0], xargv, &status); free (xargv); |