]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Just some style peeves. Tabs and spaces and whatnot.
authorAaron Bannert <aaron@apache.org>
Tue, 23 Oct 2001 21:02:03 +0000 (21:02 +0000)
committerAaron Bannert <aaron@apache.org>
Tue, 23 Oct 2001 21:02:03 +0000 (21:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91651 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_access.c

index 6b77006e5309e78a8016bc75a5ae1c1510b9c0c5..da8c533e7233ad49eb45c998086532661c45200d 100644 (file)
@@ -93,7 +93,7 @@ enum allowdeny_type {
 typedef struct {
     apr_int64_t limited;
     union {
-       char *from;
+        char *from;
         apr_ipsubnet_t *ip;
     } x;
     enum allowdeny_type type;
@@ -114,16 +114,17 @@ module AP_MODULE_DECLARE_DATA access_module;
 
 static void *create_access_dir_config(apr_pool_t *p, char *dummy)
 {
-    access_dir_conf *conf =
-    (access_dir_conf *) apr_pcalloc(p, sizeof(access_dir_conf));
     int i;
+    access_dir_conf *conf =
+        (access_dir_conf *)apr_pcalloc(p, sizeof(access_dir_conf));
 
-    for (i = 0; i < METHODS; ++i)
-       conf->order[i] = DENY_THEN_ALLOW;
+    for (i = 0; i < METHODS; ++i) {
+        conf->order[i] = DENY_THEN_ALLOW;
+    }
     conf->allows = apr_array_make(p, 1, sizeof(allowdeny));
     conf->denys = apr_array_make(p, 1, sizeof(allowdeny));
 
-    return (void *) conf;
+    return (void *)conf;
 }
 
 static const char *order(cmd_parms *cmd, void *dv, const char *arg)