update 'mp->lowmsg' from 0 to 1 during regular 'inc' from mail spool;
authorGlenn Burkhardt <glenn@aoi.ultranet.com>
Sun, 28 Sep 2003 14:27:34 +0000 (14:27 +0000)
committerGlenn Burkhardt <glenn@aoi.ultranet.com>
Sun, 28 Sep 2003 14:27:34 +0000 (14:27 +0000)
commit7afa1855f4255c6c6127283e2bd3768da814e7ef
treec9d2ee8e3f2bf7ee8eaf8938d751dacf0221c327
parent2f54ce7c39742587c9c8b1322d80bb0520f8a108
update 'mp->lowmsg' from 0 to 1 during regular 'inc' from mail spool;
avoids failure of 'folder_realloc()' for case of no messages in
folder, and more than 100 messages to incorporate.  Initially,
'folder_read()' will initialize 'mp->lowmsg' to 0, and 'mp->lowoff'
to 1.  So the call would be folder_realloc(mp, 1, 200), and the
comparison 'if (mp->nummsg > 0 && lo > mp->lowmsg)' will fail.
uip/inc.c