From: pdmef Date: Sat, 25 Feb 2006 10:20:23 +0000 (+0000) Subject: Rocco Rutte: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=13eb1efd399874a522755a9b2f0ff9f91c4aa362 Rocco Rutte: - include bug fix for #5589 git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@788 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/VERSION.svn b/VERSION.svn index e791c50..cbdc907 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -787 +788 diff --git a/imap/command.c b/imap/command.c index 49e4441..2039e54 100644 --- a/imap/command.c +++ b/imap/command.c @@ -492,6 +492,9 @@ static void cmd_parse_fetch (IMAP_DATA * idata, char *s) for (cur = 0; cur < idata->ctx->msgcount; cur++) { h = idata->ctx->hdrs[cur]; + if (!h) + break; + if (h->active && h->index + 1 == msgno) { debug_print (2, ("Message UID %d updated\n", HEADER_DATA (h)->uid)); break;