You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Paul Richards <pa...@hyperreal.com> on 1996/03/17 19:27:04 UTC
cvs commit: apache/src mod_auth_anon.c
paul 96/03/17 10:27:04
Modified: src mod_auth_anon.c
Log:
#ifdef some code that was commented. Comments are not the correct way
to hide unused code.
Fixes another warning.
Revision Changes Path
1.2 +3 -2 apache/src/mod_auth_anon.c
Index: mod_auth_anon.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_auth_anon.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C3 -r1.1 -r1.2
*** mod_auth_anon.c 1996/02/22 11:46:55 1.1
--- mod_auth_anon.c 1996/03/17 18:27:03 1.2
***************
*** 166,184 ****
int check_anon_access (request_rec *r) {
conn_rec *c = r->connection;
anon_auth_config_rec *sec =
(anon_auth_config_rec *)get_module_config (r->per_dir_config,
&anon_auth_module);
- /*
if (!sec->auth_anon) return DECLINED;
if ( strcasecmp(r->connection->user,sec->auth_anon ))
return DECLINED;
return OK;
! */
return DECLINED;
}
--- 166,185 ----
int check_anon_access (request_rec *r) {
+ #ifdef notyet
conn_rec *c = r->connection;
anon_auth_config_rec *sec =
(anon_auth_config_rec *)get_module_config (r->per_dir_config,
&anon_auth_module);
if (!sec->auth_anon) return DECLINED;
if ( strcasecmp(r->connection->user,sec->auth_anon ))
return DECLINED;
return OK;
! #endif
!
return DECLINED;
}