Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 70193 invoked by uid 500); 8 Mar 2002 18:35:12 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 70180 invoked by uid 500); 8 Mar 2002 18:35:12 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Date: 8 Mar 2002 18:35:11 -0000 Message-ID: <20020308183511.12702.qmail@icarus.apache.org> From: minfrin@apache.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/src/modules/proxy proxy_cache.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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 ] + *) Fix typo in default config files related to Swedish language documents. PR: 9906, 10040 [Tomas �gren , Dennis Lundberg ] 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;