X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=parse.c;h=9ff0debb6c2e677cefa871a3761fa52e34f56c24;hp=2d1ecd655b7d62bc1b1933abb89ebeb5029a030f;hb=eed5352e46df93f8921d2e6dfdc95b027bad6e1e;hpb=21595f98b7c8132f99abb9fee60ecdce31fc980f diff --git a/parse.c b/parse.c index 2d1ecd6..9ff0deb 100644 --- a/parse.c +++ b/parse.c @@ -45,7 +45,7 @@ char *mutt_read_rfc822_line (FILE * f, char *line, size_t * linelen) char ch; size_t offset = 0; - FOREVER { + for (;;) { if (fgets (buf, *linelen - offset, f) == NULL || /* end of file or */ (ISSPACE (*line) && !offset)) { /* end of headers */ *line = 0; @@ -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 */ }