summaryrefslogtreecommitdiff
path: root/Zend/zend_ini.c
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-09-27 16:55:25 +0000
committerJani Taskinen <jani@php.net>2007-09-27 16:55:25 +0000
commit338a12a018722ce294578e56240fdc5b967990bb (patch)
treead25998976c01daec26519a590c23a49f3acdb11 /Zend/zend_ini.c
parent72e77213938d25b16a6e6bd0192489a712b46eaa (diff)
downloadphp-git-338a12a018722ce294578e56240fdc5b967990bb.tar.gz
MFH: Nuked unnecessary TSRMLS_FETCH() call
Diffstat (limited to 'Zend/zend_ini.c')
-rw-r--r--Zend/zend_ini.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c
index f40d51ff95..fbabe12984 100644
--- a/Zend/zend_ini.c
+++ b/Zend/zend_ini.c
@@ -236,16 +236,15 @@ ZEND_API void zend_ini_refresh_caches(int stage TSRMLS_DC) /* {{{ */
ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage) /* {{{ */
{
- return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage, 0);
+ return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage, 0 TSRMLS_CC);
}
/* }}} */
-ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change) /* {{{ */
+ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change TSRMLS_DC) /* {{{ */
{
zend_ini_entry *ini_entry;
char *duplicate;
zend_bool modified;
- TSRMLS_FETCH();
if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) {
return FAILURE;