httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.org>
Subject cvs commit: apache/src CHANGES mod_auth_anon.c
Date Thu, 17 Jul 1997 21:38:19 GMT
dgaudet     97/07/17 14:38:18

  Modified:    src       CHANGES mod_auth_anon.c
  Log:
  PR#421, PR#868: Anonymous_LogEmail was logging on subrequests
  
  Revision  Changes    Path
  1.342     +3 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.341
  retrieving revision 1.342
  diff -C3 -r1.341 -r1.342
  *** CHANGES	1997/07/17 05:17:09	1.341
  --- CHANGES	1997/07/17 21:38:15	1.342
  ***************
  *** 1,4 ****
  --- 1,7 ----
    Changes with Apache 1.3
  +   
  +   *) Anonymous_LogEmail was logging on each subrequest.
  +      [Dean Gaudet] PR#421, 868
    
      *) API: Added is_initial_req() which tests if the request being
         processed is the initial request, or a subrequest.
  
  
  
  1.18      +2 -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.17
  retrieving revision 1.18
  diff -C3 -r1.17 -r1.18
  *** mod_auth_anon.c	1997/07/17 20:01:21	1.17
  --- mod_auth_anon.c	1997/07/17 21:38:16	1.18
  ***************
  *** 93,98 ****
  --- 93,99 ----
    #include "http_core.h"
    #include "http_log.h"
    #include "http_protocol.h"
  + #include "http_request.h"
    
    typedef struct auth_anon {
        char *password;
  ***************
  *** 205,211 ****
        char *send_pw;
        char errstr[MAX_STRING_LEN];
        int res=DECLINED;
  -     
    
        if ((res=get_basic_auth_pw (r,&send_pw)))
    	return res;
  --- 206,211 ----
  ***************
  *** 239,245 ****
    	      (strpbrk(".",send_pw) != NULL))
    	  ) 
    	) {
  !       if (sec->auth_anon_logemail) {
    	ap_snprintf(errstr, sizeof(errstr), "Anonymous: Passwd <%s> Accepted", 
    			send_pw ? send_pw : "\'none\'");
    	log_error (errstr, r->server );
  --- 239,245 ----
    	      (strpbrk(".",send_pw) != NULL))
    	  ) 
    	) {
  !       if (sec->auth_anon_logemail && is_initial_req(r)) {
    	ap_snprintf(errstr, sizeof(errstr), "Anonymous: Passwd <%s> Accepted", 
    			send_pw ? send_pw : "\'none\'");
    	log_error (errstr, r->server );
  
  
  

Mime
View raw message