From 2d212b426a22c9d9f357be0a6832ced9a3fff073 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 23 Dec 2014 22:00:18 +0100 Subject: Drop duplicate arg from hash_get_current_key_ex --- sapi/apache_hooks/php_apache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/apache_hooks/php_apache.c') 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); -- cgit v1.2.1