]> granicus.if.org Git - apache/commitdiff
More style
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 4 Oct 2014 20:09:10 +0000 (20:09 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 4 Oct 2014 20:09:10 +0000 (20:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629441 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_allowmethods.c

index ca2b7c6205113648d094def70d20542eaf3c48ca..bcde09924f2e9351725c2a17ca02496a298804c6 100644 (file)
@@ -85,9 +85,10 @@ static void *am_create_conf(apr_pool_t *p, char *dummy)
     return conf;
 }
 
-static void* am_merge_conf(apr_pool_t *pool, void *a, void *b) {
-    am_conf_t *base = (am_conf_t*) a;
-    am_conf_t *add = (am_conf_t*) b;
+static void *am_merge_conf(apr_pool_t *pool, void *a, void *b)
+{
+    am_conf_t *base = (am_conf_t *)a;
+    am_conf_t *add = (am_conf_t *)b;
     am_conf_t *conf = apr_palloc(pool, sizeof(am_conf_t));
 
     if (add->allowed_set) {
@@ -106,7 +107,7 @@ static const char *am_allowmethods(cmd_parms *cmd, void *d, int argc,
                                    char *const argv[])
 {
     int i;
-    am_conf_t *conf = (am_conf_t*) d;
+    am_conf_t *conf = (am_conf_t *)d;
 
     if (argc == 0) {
         return "AllowMethods: No method or 'reset' keyword given";