(_comp_action): Bugfix. Incorrectly handled multiple patterns.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -477,7 +477,7 @@ _comp_action (void *item, void *data) | ... | @@ -477,7 +477,7 @@ _comp_action (void *item, void *data) |
477 | 477 | ||
478 | d.comp = cp->comp; | 478 | d.comp = cp->comp; |
479 | d.test = cp->test; | 479 | d.test = cp->test; |
480 | for (i = 0; cp->retr (item, cp->data, i, &d.sample) == 0; i++) | 480 | for (i = 0; rc == 0 && cp->retr (item, cp->data, i, &d.sample) == 0; i++) |
481 | if (d.sample) | 481 | if (d.sample) |
482 | { | 482 | { |
483 | cp->count++; | 483 | cp->count++; | ... | ... |
-
Please register or sign in to post a comment