Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 7760 invoked by uid 500); 10 Sep 2002 14:40:47 -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 7749 invoked by uid 500); 10 Sep 2002 14:40:47 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 10 Sep 2002 14:40:46 -0000 Message-ID: <20020910144046.83124.qmail@icarus.apache.org> From: trawick@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/aaa mod_auth_basic.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N trawick 2002/09/10 07:40:46 Modified: modules/aaa mod_auth_basic.c Log: make sure we always set return_code when converting a password-check failure to an HTTP response code Revision Changes Path 1.4 +1 -2 httpd-2.0/modules/aaa/mod_auth_basic.c Index: mod_auth_basic.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_basic.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mod_auth_basic.c 10 Sep 2002 14:36:30 -0000 1.3 +++ mod_auth_basic.c 10 Sep 2002 14:40:46 -0000 1.4 @@ -259,12 +259,11 @@ return_code = HTTP_UNAUTHORIZED; break; case AUTH_GENERAL_ERROR: + default: /* We'll assume that the module has already said what its error * was in the logs. */ return_code = HTTP_INTERNAL_SERVER_ERROR; - break; - default: break; }