You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2002/03/08 19:35:11 UTC

cvs commit: apache-1.3/src/modules/proxy proxy_cache.c

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 <ge...@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 <ge...@pier64.com>]
  +
     *) Fix typo in default config files related to Swedish language
        documents.  PR: 9906, 10040  [Tomas �gren <st...@ing.umu.se>,
        Dennis Lundberg <de...@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;