Fix ini_restore variable length

This commit is contained in:
Stanislav Malyshev 2000-09-05 14:23:16 +00:00
parent 4a7f22123f
commit be83e732af

View File

@ -1889,7 +1889,7 @@ PHP_FUNCTION(ini_restore)
convert_to_string_ex(varname); convert_to_string_ex(varname);
php_restore_ini_entry((*varname)->value.str.val, (*varname)->value.str.len, PHP_INI_STAGE_RUNTIME); php_restore_ini_entry((*varname)->value.str.val, (*varname)->value.str.len+1, PHP_INI_STAGE_RUNTIME);
} }
/* }}} */ /* }}} */