/* find the beginning of ASCII armor */
while ((r = fgets (line, sizeof (line), in)) != NULL) {
- if (!strncmp (line, "-----BEGIN", 10))
+ if (!m_strncmp (line, "-----BEGIN", 10))
break;
}
if (r == NULL) {
/* find the checksum */
while ((r = fgets (line, sizeof (line), in)) != NULL) {
- if (*line == '=' || !strncmp (line, "-----END", 8))
+ if (*line == '=' || !m_strncmp (line, "-----END", 8))
break;
}
if (r == NULL) {
short rv = -1;
- out = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL);
+ out = m_tempfile (tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL);
if (!out) {
mutt_perror (_("Can't create temporary file"));
goto bye;