summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php7.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2015-01-15 17:44:11 -0800
committerRasmus Lerdorf <rasmus@php.net>2015-01-15 17:44:11 -0800
commita29601a2b448ce13e6fb24fce96b818c965faada (patch)
tree477c5d898db5b07b68a4d989f9c7417d555bb071 /sapi/apache/mod_php7.c
parentb46894d1048d4003f197af0f6de883b2930da89f (diff)
downloadphp-git-a29601a2b448ce13e6fb24fce96b818c965faada.tar.gz
Weird, is nobody compiling this?
Diffstat (limited to 'sapi/apache/mod_php7.c')
-rw-r--r--sapi/apache/mod_php7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache/mod_php7.c b/sapi/apache/mod_php7.c
index 4223efb8c6..27d6579da8 100644
--- a/sapi/apache/mod_php7.c
+++ b/sapi/apache/mod_php7.c
@@ -565,9 +565,9 @@ static void init_request_info(void)
*/
static int php_apache_alter_ini_entries(php_per_dir_entry *per_dir_entry)
{
- zend_string *key = STR_INIT(per_dir_entry->key, per_dir_entry->key_length, 0);
+ zend_string *key = zend_string_init(per_dir_entry->key, per_dir_entry->key_length, 0);
zend_alter_ini_entry_chars(key, per_dir_entry->value, per_dir_entry->value_length, per_dir_entry->type, per_dir_entry->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE);
- STR_RELEASE(key);
+ zend_string_release(key);
return 0;
}
/* }}} */