X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=inline;f=copy.c;h=2b86aadf96a09788de1e9f9506265e1fcdab8f39;hb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c;hp=717265bf42a076295144bd0f37a3dc8532fb9311;hpb=46874ad2a0d0a6a66e4bfec16dfa349bf07c632a;p=apps%2Fmadmutt.git diff --git a/copy.c b/copy.c index 717265b..2b86aad 100644 --- a/copy.c +++ b/copy.c @@ -77,7 +77,7 @@ mutt_copy_hdr (FILE* in, FILE* out, off_t off_start, off_t off_end, /* Is it the begining of a header? */ if (nl && buf[0] != ' ' && buf[0] != '\t') { ignore = 1; - if (!from && str_ncmp ("From ", buf, 5) == 0) { + if (!from && m_strncmp("From ", buf, 5) == 0) { if ((flags & CH_FROM) == 0) continue; from = 1; @@ -167,7 +167,7 @@ mutt_copy_hdr (FILE* in, FILE* out, off_t off_start, off_t off_end, ignore = 1; this_is_from = 0; - if (!from && str_ncmp ("From ", buf, 5) == 0) { + if (!from && m_strncmp("From ", buf, 5) == 0) { if ((flags & CH_FROM) == 0) continue; this_is_from = from = 1;