diff options
author | Nikita Popov <nikic@php.net> | 2014-12-23 22:00:18 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-12-26 21:06:18 +0100 |
commit | 2d212b426a22c9d9f357be0a6832ced9a3fff073 (patch) | |
tree | f1d0ec807cca7add558b6282b85e136e2e5a9bfd /sapi/apache_hooks/php_apache.c | |
parent | 3d12fc796b0048ab498f82ac497476129a7976e7 (diff) | |
download | php-git-2d212b426a22c9d9f357be0a6832ced9a3fff073.tar.gz |
Drop duplicate arg from hash_get_current_key_ex
Diffstat (limited to 'sapi/apache_hooks/php_apache.c')
-rw-r--r-- | sapi/apache_hooks/php_apache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache_hooks/php_apache.c b/sapi/apache_hooks/php_apache.c index 57b4505f10..3d2ca06e37 100644 --- a/sapi/apache_hooks/php_apache.c +++ b/sapi/apache_hooks/php_apache.c @@ -594,7 +594,7 @@ static void add_header_to_table(table *t, INTERNAL_FUNCTION_PARAMETERS) case 3: zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(first), &pos); while (zend_hash_get_current_data_ex(Z_ARRVAL_P(first), (void **)&entry, &pos) == SUCCESS) { - switch(zend_hash_get_current_key_ex(Z_ARRVAL_P(first), &string_key, &string_key_len, &num_key, 0, &pos)) { + switch(zend_hash_get_current_key_ex(Z_ARRVAL_P(first), &string_key, &string_key_len, &num_key, &pos)) { case HASH_KEY_IS_STRING: if (zend_hash_find(Z_ARRVAL_P(first), string_key, string_key_len, (void **)&value) == FAILURE) { zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); |