X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffolder_realloc.c;fp=sbr%2Ffolder_realloc.c;h=e69b833f824093fea1a70963137aa37a784f5c92;hp=f1b703f4d2b77b757b1505edff35788b5b8fb5a1;hb=0bfc482371bf63c4c312c749ba0bfc50483772ba;hpb=6d71dfbec7c6f3bec1c04d18479a87d63c1120ef diff --git a/sbr/folder_realloc.c b/sbr/folder_realloc.c index f1b703f..e69b833 100644 --- a/sbr/folder_realloc.c +++ b/sbr/folder_realloc.c @@ -57,8 +57,9 @@ folder_realloc(struct msgs *mp, int lo, int hi) /* 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;