httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-2.0/modules/aaa mod_access.c
Date Tue, 23 Oct 2001 21:02:04 GMT
aaron       01/10/23 14:02:04

  Modified:    modules/aaa mod_access.c
  Log:
  Just some style peeves. Tabs and spaces and whatnot.
  
  Revision  Changes    Path
  1.35      +7 -6      httpd-2.0/modules/aaa/mod_access.c
  
  Index: mod_access.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_access.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- mod_access.c	2001/08/11 04:04:12	1.34
  +++ mod_access.c	2001/10/23 21:02:03	1.35
  @@ -93,7 +93,7 @@
   typedef struct {
       apr_int64_t limited;
       union {
  -	char *from;
  +        char *from;
           apr_ipsubnet_t *ip;
       } x;
       enum allowdeny_type type;
  @@ -114,16 +114,17 @@
   
   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)
  
  
  

Mime
View raw message