Return-Path: Delivered-To: apmail-modperl-cvs-archive@apache.org Received: (qmail 94884 invoked by uid 500); 22 May 2001 22:13:47 -0000 Mailing-List: contact modperl-cvs-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@perl.apache.org Delivered-To: mailing list modperl-cvs@apache.org Received: (qmail 93895 invoked by uid 500); 22 May 2001 22:13:34 -0000 Delivered-To: apmail-modperl-2.0-cvs@apache.org Date: 22 May 2001 22:13:28 -0000 Message-ID: <20010522221328.93785.qmail@apache.org> From: dougm@apache.org To: modperl-2.0-cvs@apache.org Subject: cvs commit: modperl-2.0/src/modules/perl modperl_callback.c dougm 01/05/22 15:13:28 Modified: src/modules/perl modperl_callback.c Log: bug fix: callbacks that returned DECLINED were changed to OK Revision Changes Path 1.42 +2 -1 modperl-2.0/src/modules/perl/modperl_callback.c Index: modperl_callback.c =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_callback.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- modperl_callback.c 2001/04/19 17:57:14 1.41 +++ modperl_callback.c 2001/05/22 22:13:20 1.42 @@ -59,7 +59,8 @@ else { status = POPi; /* assume OK for non-http status codes and for 200 (HTTP_OK) */ - if ((status < 100) || (status == 200) || (status > 600)) { + if (((status > 0) && (status < 100)) || + (status == 200) || (status > 600)) { status = OK; } }