Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 39348 invoked from network); 29 Mar 2006 14:51:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 14:51:31 -0000 Received: (qmail 46563 invoked by uid 500); 29 Mar 2006 14:51:23 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 46470 invoked by uid 500); 29 Mar 2006 14:51:23 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 46443 invoked by uid 99); 29 Mar 2006 14:51:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 06:51:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.133.192.6] (HELO devsys.jaguNET.com) (209.133.192.6) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 06:51:20 -0800 Received: (from jim@localhost) by devsys.jaguNET.com (8.13.6/jag-2.6) id k2TEoxa17841 for dev@httpd.apache.org; Wed, 29 Mar 2006 09:50:59 -0500 (EST) From: Jim Jagielski Message-Id: <200603291450.k2TEoxa17841@devsys.jaguNET.com> Subject: Re: AW: svn commit: r389697 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c To: dev@httpd.apache.org Date: Wed, 29 Mar 2006 09:50:54 -0500 (EST) Reply-To: jim@jaguNET.com In-Reply-To: from "=?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VIS?=" at Mar 29, 2006 04:45:16 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N =?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VIS?= wrote: > > > > > -----Urspr=FCngliche Nachricht----- > > Von: Jim Jagielski=20 > >=20 > > > > + file_cache_errorcleanup(dobj, r); > > > + return APR_EGENERAL; > > > + } > >=20 > > Why don't we return rv ? > > Because we also return APR_EGENERAL in the cases below. I think the = > behaviour > should be consistent. So if we think that returning rv is better we = > should > also do this below. I am fine with either decision. > That seem to be the case when we have a general error. In other places where we have a valid 'rv', we tend to return that. Look at file_cache_recall_mydata() for example... In the above, I think the return status may be useful, so we shouldn't mask it, imo. -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "If you can dodge a wrench, you can dodge a ball."