diff options
author | Marcus Boerger <helly@php.net> | 2005-12-22 00:37:07 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-12-22 00:37:07 +0000 |
commit | 7f6018aa3ab9c496312fba31290c46ad3536418c (patch) | |
tree | e1c66061535bcf7453039501b3f0b73e6512eb94 | |
parent | 53e37ac843dcac5b5424f92a2e7528d6ff4f5c31 (diff) | |
download | php-git-7f6018aa3ab9c496312fba31290c46ad3536418c.tar.gz |
- WS
-rwxr-xr-x | ext/spl/spl_iterators.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 9923e1b66e..8f5c569c18 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -208,15 +208,15 @@ next_step: zval_ptr_dtor(&retval); if (has_children) { if (object->max_depth == -1 || object->max_depth > object->level) { - switch (object->mode) { - case RIT_LEAVES_ONLY: - case RIT_CHILD_FIRST: - object->iterators[object->level].state = RS_CHILD; - goto next_step; - case RIT_SELF_FIRST: - object->iterators[object->level].state = RS_SELF; - goto next_step; - } + switch (object->mode) { + case RIT_LEAVES_ONLY: + case RIT_CHILD_FIRST: + object->iterators[object->level].state = RS_CHILD; + goto next_step; + case RIT_SELF_FIRST: + object->iterators[object->level].state = RS_SELF; + goto next_step; + } } else { /* do not recurse into */ if (object->mode == RIT_LEAVES_ONLY) { |