Skip to content

Commit

Permalink
Changes to add_next_index_string (no more duplication argument)
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Aug 29, 2015
1 parent 5ff9070 commit 78bb304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xdebug.c
Expand Up @@ -2151,7 +2151,7 @@ PHP_FUNCTION(xdebug_get_collected_errors)
array_init(return_value);
for (le = XDEBUG_LLIST_HEAD(XG(collected_errors)); le != NULL; le = XDEBUG_LLIST_NEXT(le)) {
string = XDEBUG_LLIST_VALP(le);
add_next_index_string(return_value, string, 1);
add_next_index_string(return_value, string);
}

if (clear) {
Expand All @@ -2169,7 +2169,7 @@ PHP_FUNCTION(xdebug_get_headers)
array_init(return_value);
for (le = XDEBUG_LLIST_HEAD(XG(headers)); le != NULL; le = XDEBUG_LLIST_NEXT(le)) {
string = XDEBUG_LLIST_VALP(le);
add_next_index_string(return_value, string, 1);
add_next_index_string(return_value, string);
}
}

Expand Down

0 comments on commit 78bb304

Please sign in to comment.