httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: apache-1.3/src/modules/proxy proxy_cache.c
Date Fri, 08 Mar 2002 18:35:11 GMT
minfrin     02/03/08 10:35:11

  Modified:    src      CHANGES
               src/modules/proxy proxy_cache.c
  Log:
  Fix a NULL variable check in proxy where we were checking the
  wrong variable.
  Submitted by:	Geff Hanoian <geff@pier64.com>
  Reviewed by:	Graham Leggett
  
  Revision  Changes    Path
  1.1783    +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1782
  retrieving revision 1.1783
  diff -u -r1.1782 -r1.1783
  --- CHANGES	5 Mar 2002 16:19:12 -0000	1.1782
  +++ CHANGES	8 Mar 2002 18:35:10 -0000	1.1783
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3.24
   
  +  *) Fix a NULL variable check in proxy where we were checking the
  +     wrong variable. [Geff Hanoian <geff@pier64.com>]
  +
     *) Fix typo in default config files related to Swedish language
        documents.  PR: 9906, 10040  [Tomas Ögren <stric@ing.umu.se>,
        Dennis Lundberg <dennis.lundberg@mdh.se>]
  
  
  
  1.80      +1 -1      apache-1.3/src/modules/proxy/proxy_cache.c
  
  Index: proxy_cache.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_cache.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- proxy_cache.c	21 Feb 2002 06:03:08 -0000	1.79
  +++ proxy_cache.c	8 Mar 2002 18:35:11 -0000	1.80
  @@ -1155,7 +1155,7 @@
           smaxage = -1;
   
       /* extract max-age from request */
  -    if (cc_cresp && ap_proxy_liststr(cc_req, "max-age", &val))
  +    if (cc_req && ap_proxy_liststr(cc_req, "max-age", &val))
           maxage_req =  atoi(val);
       else
           maxage_req = -1;
  
  
  

Mime
View raw message