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.h | |
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.h')
-rw-r--r-- | mh/mh.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -335,9 +335,9 @@ void mh_set_reply_regex (const char *str); int mh_decode_2047 (char *text, char **decoded_text); int mh_alias_read (char *name, int fail); -int mh_alias_get (char *name, mu_list_t *return_list); -int mh_alias_get_address (char *name, mu_address_t *addr, int *incl); -int mh_alias_get_alias (char *uname, mu_list_t *return_list); +int mh_alias_get (const char *name, mu_list_t *return_list); +int mh_alias_get_address (const char *name, mu_address_t *addr, int *incl); +int mh_alias_get_alias (const char *uname, mu_list_t *return_list); int mh_read_aliases (void); int mh_alias_expand (const char *str, mu_address_t *paddr, int *incl); |