Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 2048 invoked from network); 13 Feb 2006 02:34:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 02:34:50 -0000 Received: (qmail 76960 invoked by uid 500); 13 Feb 2006 02:34:49 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 76939 invoked by uid 500); 13 Feb 2006 02:34:49 -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: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 76927 invoked by uid 99); 13 Feb 2006 02:34:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2006 18:34:49 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 12 Feb 2006 18:34:48 -0800 Received: (qmail 1916 invoked by uid 65534); 13 Feb 2006 02:34:28 -0000 Message-ID: <20060213023428.1915.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r377292 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c Date: Mon, 13 Feb 2006 02:34:27 -0000 To: cvs@httpd.apache.org From: rooneg@apache.org X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rooneg Date: Sun Feb 12 18:34:26 2006 New Revision: 377292 URL: http://svn.apache.org/viewcvs?rev=377292&view=rev Log: Clean up some code in mod_dav. Submitted by: Dan Rall * modules/dav/main/mod_dav.c (dav_error_response, dav_error_response_tag): Remove redundant assignment of r->status_line which is handled by basic_http_header_check(). Modified: httpd/httpd/trunk/modules/dav/main/mod_dav.c Modified: httpd/httpd/trunk/modules/dav/main/mod_dav.c URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/dav/main/mod_dav.c?rev=377292&r1=377291&r2=377292&view=diff ============================================================================== --- httpd/httpd/trunk/modules/dav/main/mod_dav.c (original) +++ httpd/httpd/trunk/modules/dav/main/mod_dav.c Sun Feb 12 18:34:26 2006 @@ -314,9 +314,6 @@ { r->status = status; - /* ### I really don't think this is needed; gotta test */ - r->status_line = ap_get_status_line(status); - ap_set_content_type(r, "text/html"); /* begin the response now... */ @@ -347,9 +344,6 @@ dav_error *err) { r->status = err->status; - - /* ### I really don't think this is needed; gotta test */ - r->status_line = ap_get_status_line(err->status); ap_set_content_type(r, DAV_XML_CONTENT_TYPE);