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)
mpd->func = func;
bio = mpd->bio;
for (i = (int)mpd->id; i < mpd->messages_count; mpd->id = (void *)++i)
for (i = (int)mpd->id; i < mpd->pmessages_count; mpd->id = (void *)++i)
{
if (message_get_attribute (mpd->pmessages[i]->message, &attr) == 0)
{
......