From: Armin Wolfermann Date: Mon, 9 Sep 2002 19:56:25 +0000 (+0000) Subject: when doing the second parsing pass on a maildir, mutt doesn't delete X-Git-Tag: mutt-1-5-2-rel~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df79f971c5a38d865a9aeaff831f9aaf4cf9c883;p=mutt when doing the second parsing pass on a maildir, mutt doesn't delete the fake HEADER struct if the file is unreadable. With this fix unreadable files get silently ignored (like in the MH case). --- diff --git a/mh.c b/mh.c index 577e3385..82dfaae0 100644 --- a/mh.c +++ b/mh.c @@ -593,8 +593,9 @@ static HEADER *maildir_parse_message (int magic, const char *fname, h->old = is_old; maildir_parse_flags (h, fname); } + return h; } - return h; + return NULL; } /*