diff options
author | Aaron Bannert <aaron@apache.org> | 2001-10-23 23:02:03 +0200 |
---|---|---|
committer | Aaron Bannert <aaron@apache.org> | 2001-10-23 23:02:03 +0200 |
commit | d998d4dd3ad70042c6e0c8c2b553957f01183390 (patch) | |
tree | c58782b7018ceeec53828dd0edbbc1fbf80ce476 /modules | |
parent | set the c->aborted flag when we get EPIPE (diff) | |
download | apache2-d998d4dd3ad70042c6e0c8c2b553957f01183390.tar.xz apache2-d998d4dd3ad70042c6e0c8c2b553957f01183390.zip |
Just some style peeves. Tabs and spaces and whatnot.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aaa/mod_access.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/aaa/mod_access.c b/modules/aaa/mod_access.c index 6b77006e53..da8c533e72 100644 --- a/modules/aaa/mod_access.c +++ b/modules/aaa/mod_access.c @@ -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) |