X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;h=6df40039c6b3dd34b6399c2c82986ce60c816bd4;hp=3a010d4f1443e3b25cd94dfc879b82a3b2ea797c;hb=c0d71a35d690605434605578a0d34ce101f754bb;hpb=1ee89902de184a640c171ae3285bff6882a791bd diff --git a/copy.c b/copy.c index 3a010d4..6df4003 100644 --- a/copy.c +++ b/copy.c @@ -16,6 +16,7 @@ #include "mx.h" #include "copy.h" #include +#include #include "mutt_idna.h" static int address_header_decode (char **str); @@ -125,9 +126,9 @@ mutt_copy_hdr (FILE* in, FILE* out, off_t off_start, off_t off_end, if (nl && buf[0] != ' ' && buf[0] != '\t') { /* set curline to 1 for To:/Cc:/Bcc: and 0 otherwise */ - curline = (flags & CH_WEED) && (ascii_strncmp ("To:", buf, 3) == 0 || - ascii_strncmp ("Cc:", buf, 3) == 0 || - ascii_strncmp ("Bcc:", buf, 4) == 0); + curline = (flags & CH_WEED) && (m_strncmp("To:", buf, 3) == 0 || + m_strncmp("Cc:", buf, 3) == 0 || + m_strncmp("Bcc:", buf, 4) == 0); /* Do we have anything pending? */ if (this_one) {