summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-09-02 11:24:52 +0400
committerDmitry Stogov <dmitry@zend.com>2014-09-02 11:24:52 +0400
commite51677b2e6ce72a3c1325e14ff932720f5b5d523 (patch)
tree55093740c185395c3c31b3e3f97024b70b47c9a9 /win32
parent1670772dc606079088357ce1c9a0c4293cd7b3d9 (diff)
downloadphp-git-e51677b2e6ce72a3c1325e14ff932720f5b5d523.tar.gz
fixed reference counting
Diffstat (limited to 'win32')
-rw-r--r--win32/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/registry.c b/win32/registry.c
index 8ed838b1d1..10372cd624 100644
--- a/win32/registry.c
+++ b/win32/registry.c
@@ -244,7 +244,7 @@ void UpdateIniFromRegistry(char *path TSRMLS_DC)
zval *data;
ZEND_HASH_FOREACH_KEY_VAL(ht, num, index, data) {
- zend_alter_ini_entry(index, Z_STRVAL_P(data), Z_STRLEN_P(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry(index, Z_STR_P(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
} ZEND_HASH_FOREACH_END();
/*
for (zend_hash_internal_pointer_reset_ex(ht, &pos);