projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove yet anoter round of str_* functions, replaced with their inlineable
[apps/madmutt.git]
/
handler.c
diff --git
a/handler.c
b/handler.c
index
a118df7
..
4abb301
100644
(file)
--- a/
handler.c
+++ b/
handler.c
@@
-328,14
+328,14
@@
void mutt_decode_uuencoded (STATE * s, long len, int istext, iconv_t cd)
if ((fgets (tmps, sizeof (tmps), s->fpin)) == NULL)
return;
len -= m_strlen(tmps);
if ((fgets (tmps, sizeof (tmps), s->fpin)) == NULL)
return;
len -= m_strlen(tmps);
- if ((!
str_ncmp
(tmps, "begin", 5)) && ISSPACE (tmps[5]))
+ if ((!
m_strncmp
(tmps, "begin", 5)) && ISSPACE (tmps[5]))
break;
}
while (len > 0) {
if ((fgets (tmps, sizeof (tmps), s->fpin)) == NULL)
return;
len -= m_strlen(tmps);
break;
}
while (len > 0) {
if ((fgets (tmps, sizeof (tmps), s->fpin)) == NULL)
return;
len -= m_strlen(tmps);
- if (!
str_ncmp
(tmps, "end", 3))
+ if (!
m_strncmp
(tmps, "end", 3))
break;
pt = tmps;
linelen = decode_byte (*pt);
break;
pt = tmps;
linelen = decode_byte (*pt);
@@
-1399,7
+1399,7
@@
int mutt_body_handler (BODY * b, STATE * s)
handler = mutt_signed_handler;
}
else if ((WithCrypto & APPLICATION_PGP)
handler = mutt_signed_handler;
}
else if ((WithCrypto & APPLICATION_PGP)
- &&
str_casecmp
("encrypted", b->subtype) == 0) {
+ &&
m_strcasecmp
("encrypted", b->subtype) == 0) {
p = mutt_get_parameter ("protocol", b->parameter);
if (!p)
p = mutt_get_parameter ("protocol", b->parameter);
if (!p)