X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mbox.c;h=cab71ac861d007fa9daa9d723983c51593a459a8;hb=ee869a42bc5677da8e3602ec1947af1736786648;hp=3b9fba0ab0991558f0bd7988aee7ef80da1b31dd;hpb=2ea77d3b2827ba23feb756ce2fb936565ae38998;p=apps%2Fmadmutt.git diff --git a/mbox.c b/mbox.c index 3b9fba0..cab71ac 100644 --- a/mbox.c +++ b/mbox.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "mutt.h" #include "mx.h" @@ -124,7 +125,7 @@ static int mmdf_parse_mailbox (CONTEXT * ctx) buf[sizeof (buf) - 1] = 0; - FOREVER { + for (;;) { if (fgets (buf, sizeof (buf) - 1, ctx->fp) == NULL) break;