Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 25 Feb 2006 10:20:23 +0000 (10:20 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 25 Feb 2006 10:20:23 +0000 (10:20 +0000)
- include bug fix for #5589

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@788 e385b8ad-14ed-0310-8656-cc95a2468c6d

VERSION.svn
imap/command.c

index e791c50..cbdc907 100644 (file)
@@ -1 +1 @@
-787
+788
index 49e4441..2039e54 100644 (file)
@@ -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;