X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=attach.c;h=8b9cb82361fc27c1dcccc30f1a7e8145e6c2dbda;hp=5480710bfb873ff386112972b685bb4577302d84;hb=ae0ce4dfcafa0c3820f107c5bfa8bd06e5272b57;hpb=9274cbe8e6410ddb95ddc667faa678a29da85420 diff --git a/attach.c b/attach.c index 5480710..8b9cb82 100644 --- a/attach.c +++ b/attach.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include "mutt.h" @@ -279,7 +280,7 @@ static int is_mmnoask (const char *buf) int lng; if ((p = getenv ("MM_NOASK")) != NULL && *p) { - if (str_cmp (p, "1") == 0) + if (m_strcmp(p, "1") == 0) return (1); strfcpy (tmp, p, sizeof (tmp)); @@ -435,7 +436,7 @@ int mutt_view_attachment (FILE * fp, BODY * a, int flag, HEADER * hdr, if (rfc1524_expand_filename (entry->nametemplate, fname, tempfile, sizeof (tempfile))) { - if (fp == NULL && str_cmp (tempfile, a->filename)) { + if (fp == NULL && m_strcmp(tempfile, a->filename)) { /* send case: the file is already there */ if (safe_symlink (a->filename, tempfile) == -1) { if (mutt_yesorno (_("Can't match nametemplate, continue?"), M_YES)