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/apache2filter | |
| parent | 3d12fc796b0048ab498f82ac497476129a7976e7 (diff) | |
| download | php-git-2d212b426a22c9d9f357be0a6832ced9a3fff073.tar.gz | |
Drop duplicate arg from hash_get_current_key_ex
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/apache_config.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sapi/apache2filter/apache_config.c b/sapi/apache2filter/apache_config.c index f87a04bbd1..0e9bb73830 100644 --- a/sapi/apache2filter/apache_config.c +++ b/sapi/apache2filter/apache_config.c @@ -132,8 +132,8 @@ void *merge_php_config(apr_pool_t *p, void *base_conf, void *new_conf) phpapdebug((stderr, "Merge dir (%p)+(%p)=(%p)\n", base_conf, new_conf, n)); for (zend_hash_internal_pointer_reset(&d->config); - zend_hash_get_current_key_ex(&d->config, &str, &str_len, - &num_index, 0, NULL) == HASH_KEY_IS_STRING; + zend_hash_get_current_key(&d->config, &str, &str_len, + &num_index) == HASH_KEY_IS_STRING; zend_hash_move_forward(&d->config)) { pe = NULL; zend_hash_get_current_data(&d->config, (void **) &data); @@ -167,8 +167,7 @@ void apply_config(void *dummy) php_dir_entry *data; for (zend_hash_internal_pointer_reset(&d->config); - zend_hash_get_current_key_ex(&d->config, &str, &str_len, NULL, 0, - NULL) == HASH_KEY_IS_STRING; + zend_hash_get_current_key(&d->config, &str, &str_len, NULL) == HASH_KEY_IS_STRING; zend_hash_move_forward(&d->config)) { zend_hash_get_current_data(&d->config, (void **) &data); phpapdebug((stderr, "APPLYING (%s)(%s)\n", str, data->value)); |
