httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James H. Cloos Jr." <cl...@io.com>
Subject Re: apache V0.8.8 under Linux (fwd)
Date Fri, 18 Aug 1995 05:29:12 GMT
Florent> Uh, I'd rather see something cleaner and more explicit, like :

Florent> --- mod_access.c-dist   Thu Aug 17 02:14:07 1995
Florent> +++ mod_access.c        Thu Aug 17 02:14:28 1995
Florent> @@ -93,7 +93,7 @@
Florent>          (access_dir_conf *)pcalloc(p, sizeof(access_dir_conf));
Florent>      int i;
Florent>      
Florent> -    for (i = 0; i < METHODS; ++i) conf->order[i] = NULL;
Florent> +    for (i = 0; i < METHODS; ++i) conf->order[i] = DENY_THEN_ALLOW;
Florent>      conf->allows = make_array (p, 1, sizeof (allowdeny));
Florent>      conf->denys = make_array (p, 1, sizeof (allowdeny));
     
Good point.  Next time I'll be sure to read through the whole file,
and not just a couple of lines either side of the warning....

-JimC
-- 
James H. Cloos, Jr.	Snail:	POBox 18122 Austin, TX 78760-8122   Usenix,SAGE
cloos@io.com		URL:	http://www.jhcloos.com/~cloos/      LPF

Mime
View raw message