Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 087EE78DD for ; Sun, 27 Nov 2011 18:02:57 +0000 (UTC) Received: (qmail 48437 invoked by uid 500); 27 Nov 2011 18:02:56 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 48379 invoked by uid 500); 27 Nov 2011 18:02:55 -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 48372 invoked by uid 99); 27 Nov 2011 18:02:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2011 18:02:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Nov 2011 18:02:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CD6EA238889B; Sun, 27 Nov 2011 18:02:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1206787 - /httpd/httpd/trunk/server/util_filter.c Date: Sun, 27 Nov 2011 18:02:34 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111127180234.CD6EA238889B@eris.apache.org> Author: jim Date: Sun Nov 27 18:02:33 2011 New Revision: 1206787 URL: http://svn.apache.org/viewvc?rev=1206787&view=rev Log: thx sf Modified: httpd/httpd/trunk/server/util_filter.c Modified: httpd/httpd/trunk/server/util_filter.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_filter.c?rev=1206787&r1=1206786&r2=1206787&view=diff ============================================================================== --- httpd/httpd/trunk/server/util_filter.c (original) +++ httpd/httpd/trunk/server/util_filter.c Sun Nov 27 18:02:33 2011 @@ -561,11 +561,7 @@ AP_DECLARE(apr_status_t) ap_pass_brigade va_start(ap, fmt); res = apr_pvsprintf(r->pool, fmt, ap); va_end(ap); - /* - * Why the NULL? - * handle: "error: format not a string literal and no format arguments" - */ - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r, res, NULL); + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r, "%s", res); } return HTTP_INTERNAL_SERVER_ERROR; }