cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Jani Taskinen | Date: | Sun, 14 Apr 2002 12:38:33 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11134@lists.php.net to get a copy of this message | ||
sniper Sun Apr 14 08:38:33 2002 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
ws fixes
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.69 php4/sapi/apache2filter/sapi_apache2.c:1.70
--- php4/sapi/apache2filter/sapi_apache2.c:1.69 Fri Apr 12 18:25:29 2002
+++ php4/sapi/apache2filter/sapi_apache2.c Sun Apr 14 08:38:33 2002
@@ -218,25 +218,25 @@
"apache2filter",
"Apache 2.0 Filter",
- php_module_startup, /* startup */
+ php_module_startup, /* startup */
php_module_shutdown_wrapper, /* shutdown */
NULL, /* activate */
NULL, /* deactivate */
- php_apache_sapi_ub_write, /* unbuffered write */
+ php_apache_sapi_ub_write, /* unbuffered write */
php_apache_sapi_flush, /* flush */
NULL, /* get uid */
NULL, /* getenv */
php_error, /* error handler */
- php_apache_sapi_header_handler, /* header handler */
- php_apache_sapi_send_headers, /* send headers handler */
+ php_apache_sapi_header_handler, /* header handler */
+ php_apache_sapi_send_headers, /* send headers handler */
NULL, /* send header handler */
- php_apache_sapi_read_post, /* read POST data */
- php_apache_sapi_read_cookies, /* read Cookies */
+ php_apache_sapi_read_post, /* read POST data */
+ php_apache_sapi_read_cookies, /* read Cookies */
php_apache_sapi_register_variables,
php_apache_sapi_log_message, /* Log message */
@@ -458,8 +458,7 @@
if (output) {
ap_add_output_filter("PHP", NULL, r, r->connection);
- }
- else {
+ } else {
ap_add_input_filter("PHP", NULL, r, r->connection);
}
}
@@ -506,19 +505,19 @@
{
ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
- ap_hook_post_read_request(php_post_read_request, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_post_read_request(php_post_read_request, NULL, NULL, APR_HOOK_MIDDLE);
ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
}
AP_MODULE_DECLARE_DATA module php4_module = {
- STANDARD20_MODULE_STUFF,
- create_php_config, /* create per-directory config structure */
- merge_php_config, /* merge per-directory config structures */
- NULL, /* create per-server config structure */
- NULL, /* merge per-server config structures */
- php_dir_cmds, /* command apr_table_t */
- php_register_hook /* register hooks */
+ STANDARD20_MODULE_STUFF,
+ create_php_config, /* create per-directory config structure */
+ merge_php_config, /* merge per-directory config structures */
+ NULL, /* create per-server config structure */
+ NULL, /* merge per-server config structures */
+ php_dir_cmds, /* command apr_table_t */
+ php_register_hook /* register hooks */
};
/*
@@ -529,5 +528,3 @@
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
-