X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=parse.c;h=5457e658d040716e25268149e8bb91114446a171;hb=2ea77d3b2827ba23feb756ce2fb936565ae38998;hp=fe0a40d698fba2ca384ba945afb90cda508dcba5;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd;p=apps%2Fmadmutt.git diff --git a/parse.c b/parse.c index fe0a40d..5457e65 100644 --- a/parse.c +++ b/parse.c @@ -13,12 +13,12 @@ #include #include +#include #include +#include #include "mutt.h" -#include "buffer.h" #include "enter.h" -#include "ascii.h" #include "recvattach.h" #include "mx.h" #include "mime.h" @@ -612,7 +612,7 @@ BODY *mutt_parse_multipart (FILE * fp, const char *boundary, off_t end_off, buffer[i] = 0; /* Check for the end boundary */ - if (str_cmp (buffer + blen + 2, "--") == 0) { + if (m_strcmp(buffer + blen + 2, "--") == 0) { final = 1; break; /* done parsing */ } @@ -805,7 +805,7 @@ time_t mutt_parse_date (const char *s, HEADER * h) t = scratch; SKIPWS (t); - memset (&tm, 0, sizeof (tm)); + p_clear(&tm, 1); while ((t = strtok (t, " \t")) != NULL) { switch (count) {