Commit 970f96cd 970f96cdf9114f268e472375cfb5de7d6c5d9170 by Alain Magloire

mbx_pop.c

fatal typo  in mbx_pop_expunge should be pmessage_count instead of message_count
1 parent 0db44a1f
...@@ -950,7 +950,7 @@ mailbox_pop_expunge (mailbox_t mbox) ...@@ -950,7 +950,7 @@ mailbox_pop_expunge (mailbox_t mbox)
950 mpd->func = func; 950 mpd->func = func;
951 bio = mpd->bio; 951 bio = mpd->bio;
952 952
953 for (i = (int)mpd->id; i < mpd->messages_count; mpd->id = (void *)++i) 953 for (i = (int)mpd->id; i < mpd->pmessages_count; mpd->id = (void *)++i)
954 { 954 {
955 if (message_get_attribute (mpd->pmessages[i]->message, &attr) == 0) 955 if (message_get_attribute (mpd->pmessages[i]->message, &attr) == 0)
956 { 956 {
......