/* then copy messages status array with shift */
if (mp->nummsg > 0) {
- for (msgnum = mp->lowmsg; msgnum <= mp->hghmsg; msgnum++)
+ for (msgnum=mp->lowmsg; msgnum<=mp->hghmsg; msgnum++) {
tmpstats[msgnum - lo] = mp->msgstats[msgnum - mp->lowoff];
+ }
}
free(mp->msgstats);
mp->msgstats = tmpstats;