From: Paul Querna Date: Mon, 13 Dec 2004 16:13:06 +0000 (+0000) Subject: * Style fixes only. No functional changes. Remove two tabs. Fix an If. Split a String. X-Git-Tag: 2.1.3~263 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3afc45863a1d3db19511ebeb6fce53e336aeb99b;p=thirdparty%2Fapache%2Fhttpd.git * Style fixes only. No functional changes. Remove two tabs. Fix an If. Split a String. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111719 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 07a3e13ae14..fabb82ed3e4 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -88,17 +88,22 @@ static const command_rec http_cmds[] = { AP_INIT_TAKE1("KeepAliveTimeout", set_keep_alive_timeout, NULL, RSRC_CONF, "Keep-Alive timeout duration (sec)"), AP_INIT_TAKE1("MaxKeepAliveRequests", set_keep_alive_max, NULL, RSRC_CONF, - "Maximum number of Keep-Alive requests per connection, or 0 for infinite"), + "Maximum number of Keep-Alive requests per connection, " + "or 0 for infinite"), AP_INIT_TAKE1("KeepAlive", set_keep_alive, NULL, RSRC_CONF, "Whether persistent connections should be On or Off"), { NULL } }; static const char *http_method(const request_rec *r) - { return "http"; } +{ + return "http"; +} static apr_port_t http_port(const request_rec *r) - { return DEFAULT_HTTP_PORT; } +{ + return DEFAULT_HTTP_PORT; +} static int ap_process_http_async_connection(conn_rec *c) { @@ -208,14 +213,14 @@ static void register_hooks(apr_pool_t *p) * use a different processing function */ int async_mpm = 0; - if(ap_mpm_query(AP_MPMQ_IS_ASYNC, &async_mpm) == APR_SUCCESS - && async_mpm == 1) { - ap_hook_process_connection(ap_process_http_async_connection,NULL, - NULL,APR_HOOK_REALLY_LAST); + if (ap_mpm_query(AP_MPMQ_IS_ASYNC, &async_mpm) == APR_SUCCESS + && async_mpm == 1) { + ap_hook_process_connection(ap_process_http_async_connection, NULL, + NULL, APR_HOOK_REALLY_LAST); } else { - ap_hook_process_connection(ap_process_http_connection,NULL,NULL, - APR_HOOK_REALLY_LAST); + ap_hook_process_connection(ap_process_http_connection, NULL, NULL, + APR_HOOK_REALLY_LAST); } ap_hook_map_to_storage(ap_send_http_trace,NULL,NULL,APR_HOOK_MIDDLE);