diff options
Diffstat (limited to 'ext/apache/apache.c')
-rw-r--r-- | ext/apache/apache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/apache/apache.c b/ext/apache/apache.c index 1fe384e286..c5085f749e 100644 --- a/ext/apache/apache.c +++ b/ext/apache/apache.c @@ -72,7 +72,7 @@ static PHP_INI_MH(OnChangeApacheInt) long *p; char *base = (char *) &php_apache_info; - p = (long *) (base+(size_t) mh_arg); + p = (long *) (base+(size_t) mh_arg1); if (new_value) { *p = atoi(new_value); @@ -88,7 +88,7 @@ static PHP_INI_MH(OnChangeApacheString) char **p; char *base = (char *) &php_apache_info; - p = (char **) (base+(size_t) mh_arg); + p = (char **) (base+(size_t) mh_arg1); if (new_value) { *p = new_value; @@ -99,10 +99,10 @@ static PHP_INI_MH(OnChangeApacheString) } PHP_INI_BEGIN() - PHP_INI_ENTRY("xbithack", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, xbithack)) - PHP_INI_ENTRY("engine", "1", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, engine)) - PHP_INI_ENTRY("last_modified", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, last_modified)) - PHP_INI_ENTRY("dav_script", NULL, PHP_INI_ALL, OnChangeApacheString, (void *) XtOffsetOf(php_apache_info_struct, dav_script)) + PHP_INI_ENTRY1("xbithack", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, xbithack)) + PHP_INI_ENTRY1("engine", "1", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, engine)) + PHP_INI_ENTRY1("last_modified", "0", PHP_INI_ALL, OnChangeApacheInt, (void *) XtOffsetOf(php_apache_info_struct, last_modified)) + PHP_INI_ENTRY1("dav_script", NULL, PHP_INI_ALL, OnChangeApacheString, (void *) XtOffsetOf(php_apache_info_struct, dav_script)) PHP_INI_END() |