Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Thies C. Arntzen committed Dec 6, 1999
1 parent 1095f8a commit beb9723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ PHPAPI void php_explode(pval *delim, pval *str, pval *return_value)
} else do {
add_index_stringl(return_value, i++, p1, p2-p1, 1);
p1 = p2 + delim->value.str.len;
} while (p2 = php_memnstr(p1, delim->value.str.val, delim->value.str.len, endp));
} while ((p2 = php_memnstr(p1, delim->value.str.val, delim->value.str.len, endp)) != NULL);

if (p1 <= endp) {
add_index_stringl(return_value, i++, p1, endp-p1, 1);
Expand Down

0 comments on commit beb9723

Please sign in to comment.