projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
imap
/
command.c
diff --git
a/imap/command.c
b/imap/command.c
index
49e4441
..
2039e54
100644
(file)
--- 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];
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;
if (h->active && h->index + 1 == msgno) {
debug_print (2, ("Message UID %d updated\n", HEADER_DATA (h)->uid));
break;