You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2015/12/10 21:05:45 UTC
svn commit: r1719190 - /httpd/httpd/trunk/server/config.c
Author: jailletc36
Date: Thu Dec 10 20:05:44 2015
New Revision: 1719190
URL: http://svn.apache.org/viewvc?rev=1719190&view=rev
Log:
Fix some minor style issue.
Modified:
httpd/httpd/trunk/server/config.c
Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1719190&r1=1719189&r2=1719190&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Thu Dec 10 20:05:44 2015
@@ -136,7 +136,8 @@ AP_DECLARE(int) ap_hook_post_config(ap_H
apr_hook_debug_show("post_config", aszPre, aszSucc);
}
-AP_DECLARE(apr_array_header_t *) ap_hook_get_post_config(void) {
+AP_DECLARE(apr_array_header_t *) ap_hook_get_post_config(void)
+{
return _hooks.link_post_config;
}
@@ -148,7 +149,7 @@ AP_DECLARE(int) ap_run_post_config(apr_p
ap_LINK_post_config_t *pHook;
int n;
- if(!_hooks.link_post_config)
+ if (!_hooks.link_post_config)
return;
pHook = (ap_LINK_post_config_t *)_hooks.link_post_config->elts;
@@ -848,7 +849,7 @@ static const char *invoke_cmd(const comm
char *w, *w2, *w3;
const char *errmsg = NULL;
- /** Have we been provided a list of acceptable directives? */
+ /* Have we been provided a list of acceptable directives? */
if (parms->override_list != NULL) {
if (apr_table_get(parms->override_list, cmd->name) != NULL) {
override_list_ok = 1;
@@ -1381,7 +1382,7 @@ AP_DECLARE(const char *) ap_build_config
*/
last_ptr = &(current->last);
- if(last_ptr && *last_ptr) {
+ if (last_ptr && *last_ptr) {
current = *last_ptr;
}
@@ -1389,7 +1390,7 @@ AP_DECLARE(const char *) ap_build_config
current = current->next;
}
- if(last_ptr) {
+ if (last_ptr) {
/* update cached pointer to last node */
*last_ptr = current;
}
@@ -1611,8 +1612,8 @@ AP_DECLARE(const char *) ap_soak_end_con
ap_varbuf_init(cmd->temp_pool, &vb, VARBUF_INIT_LEN);
- while((rc = ap_varbuf_cfg_getline(&vb, cmd->config_file, max_len))
- == APR_SUCCESS) {
+ while ((rc = ap_varbuf_cfg_getline(&vb, cmd->config_file, max_len))
+ == APR_SUCCESS) {
args = vb.buf;
cmd_name = ap_getword_conf(cmd->temp_pool, &args);