View | Details | Raw Unified | Return to bug 41412
Collapse All | Expand All

(-)modules/mappers/mod_rewrite.c (-1 / +7 lines)
Lines 4086-4092 Link Here
4086
            /*
4086
            /*
4087
             *  If we are forced to skip N next rules, do it now.
4087
             *  If we are forced to skip N next rules, do it now.
4088
             */
4088
             */
4089
            if (p->skip > 0) {
4089
            if (p->skip != 0) {
4090
                s = p->skip;
4090
                s = p->skip;
4091
                while (   i < rewriterules->nelts
4091
                while (   i < rewriterules->nelts
4092
                       && s > 0) {
4092
                       && s > 0) {
Lines 4094-4099 Link Here
4094
                    p = &entries[i];
4094
                    p = &entries[i];
4095
                    s--;
4095
                    s--;
4096
                }
4096
                }
4097
                while (   i >= 0
4098
                       && s < 0) {
4099
                    i--;
4100
                    p = &entries[i];
4101
                    s++;
4102
                }
4097
            }
4103
            }
4098
        }
4104
        }
4099
        else {
4105
        else {

Return to bug 41412