MaxMessages: ignore entries with no master while calculating bulk fetch
This commit is contained in:
parent
2bbd07ec87
commit
359091625d
|
@ -1018,7 +1018,7 @@ box_selected( int sts, void *aux )
|
||||||
/* First, find out the lower bound for the bulk fetch. */
|
/* First, find out the lower bound for the bulk fetch. */
|
||||||
minwuid = INT_MAX;
|
minwuid = INT_MAX;
|
||||||
for (srec = svars->srecs; srec; srec = srec->next) {
|
for (srec = svars->srecs; srec; srec = srec->next) {
|
||||||
if (srec->status & S_DEAD)
|
if ((srec->status & S_DEAD) || srec->uid[M] <= 0)
|
||||||
continue;
|
continue;
|
||||||
if (srec->status & S_EXPIRED) {
|
if (srec->status & S_EXPIRED) {
|
||||||
if (!srec->uid[S]) {
|
if (!srec->uid[S]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user