httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/loggers mod_log_config.c
Date Mon, 25 Nov 2002 15:46:05 GMT
wrowe       2002/11/25 07:46:05

  Modified:    modules/loggers Tag: APACHE_2_0_BRANCH mod_log_config.c
  Log:
    Accept '%%' in CustomLog format strings to produce a literal '%'.
  
  Submitted by: André Malo <nd@perlig.de>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.95.2.1  +9 -0      httpd-2.0/modules/loggers/mod_log_config.c
  
  Index: mod_log_config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_config.c,v
  retrieving revision 1.95
  retrieving revision 1.95.2.1
  diff -u -r1.95 -r1.95.2.1
  --- mod_log_config.c	16 Sep 2002 12:43:36 -0000	1.95
  +++ mod_log_config.c	25 Nov 2002 15:46:05 -0000	1.95.2.1
  @@ -699,6 +699,15 @@
       ++s;
       it->condition_sense = 0;
       it->conditions = NULL;
  +
  +    if (*s == '%') {
  +        it->arg = "%";
  +        it->func = constant_item;
  +        *sa = ++s;
  +    
  +        return NULL;
  +    }
  +
       it->want_orig = -1;
       it->arg = "";               /* For safety's sake... */
   
  
  
  

Mime
View raw message