projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignoble trick to allow us to override _init with a macro.
[apps/madmutt.git]
/
lib-mime
/
rfc1524.c
diff --git
a/lib-mime/rfc1524.c
b/lib-mime/rfc1524.c
index
7f6ceb3
..
422a82d
100644
(file)
--- a/
lib-mime/rfc1524.c
+++ b/
lib-mime/rfc1524.c
@@
-103,7
+103,7
@@
int rfc1524_expand_command(BODY *a, const char *filename, const char *mtype,
m_strcpy(type, sizeof(type), mtype);
m_strcpy(type, sizeof(type), mtype);
- if (
M
ime.mailcap_sanitize)
+ if (
mod_m
ime.mailcap_sanitize)
mutt_sanitize_filename(type, 0);
while (command[x] && x < clen && y < ssizeof(buf)) {
mutt_sanitize_filename(type, 0);
while (command[x] && x < clen && y < ssizeof(buf)) {
@@
-128,7
+128,7
@@
int rfc1524_expand_command(BODY *a, const char *filename, const char *mtype,
m_strcpy(pval, sizeof(pval),
parameter_getval(a->parameter, param));
m_strcpy(pval, sizeof(pval),
parameter_getval(a->parameter, param));
- if (
M
ime.mailcap_sanitize)
+ if (
mod_m
ime.mailcap_sanitize)
mutt_sanitize_filename(pval, 0);
y += mutt_quote_filename(buf + y, sizeof(buf) - y, pval);
mutt_sanitize_filename(pval, 0);
y += mutt_quote_filename(buf + y, sizeof(buf) - y, pval);
@@
-354,7
+354,7
@@
rfc1524_mailcap_parse(BODY *a, const char *filename, const char *type,
*/
int rfc1524_mailcap_lookup(BODY *a, char *type, rfc1524_entry *entry, int opt)
{
*/
int rfc1524_mailcap_lookup(BODY *a, char *type, rfc1524_entry *entry, int opt)
{
- const char *p =
M
ime.mailcap_path;
+ const char *p =
mod_m
ime.mailcap_path;
mutt_check_lookup_list(a, type, STRING);
mutt_check_lookup_list(a, type, STRING);