if ( si->slimit > 0 && rs->sr_nentries >= si->slimit ) {
si->slimit_exceeded = 1;
}
- if ( si->slimit_exceeded ) {
- return 0;
- }
/* If we haven't exceeded the limit for this query,
* build a chain of answers to store. If we hit the
si->tail = NULL;
}
}
+ if ( si->slimit_exceeded ) {
+ return 0;
+ }
} else if ( rs->sr_type == REP_RESULT ) {
if ( si->count ) {