]> granicus.if.org Git - php/commitdiff
Weird, is nobody compiling this?
authorRasmus Lerdorf <rasmus@php.net>
Fri, 16 Jan 2015 01:44:11 +0000 (17:44 -0800)
committerRasmus Lerdorf <rasmus@php.net>
Fri, 16 Jan 2015 01:44:11 +0000 (17:44 -0800)
sapi/apache/mod_php7.c

index 4223efb8c667b81f05fb2f72b4424030ef9bc279..27d6579da849cd1208f2c9ad1b6840a26338f10d 100644 (file)
@@ -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;
 }
 /* }}} */