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 1CD4118DED for ; Tue, 19 Jan 2016 18:16:25 +0000 (UTC) Received: (qmail 91041 invoked by uid 500); 19 Jan 2016 18:16:24 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 90968 invoked by uid 500); 19 Jan 2016 18:16:24 -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 90959 invoked by uid 99); 19 Jan 2016 18:16:24 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 18:16:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 792661803EA for ; Tue, 19 Jan 2016 18:16:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.446 X-Spam-Level: X-Spam-Status: No, score=0.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id no2EP3VGwcuX for ; Tue, 19 Jan 2016 18:16:23 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 2949120BC2 for ; Tue, 19 Jan 2016 18:16:23 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4594EE0185 for ; Tue, 19 Jan 2016 18:16:22 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 382233A05CA for ; Tue, 19 Jan 2016 18:16:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1725581 - /httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Date: Tue, 19 Jan 2016 18:16:22 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160119181622.382233A05CA@svn01-us-west.apache.org> Author: jim Date: Tue Jan 19 18:16:21 2016 New Revision: 1725581 URL: http://svn.apache.org/viewvc?rev=1725581&view=rev Log: correct error string Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1725581&r1=1725580&r2=1725581&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Tue Jan 19 18:16:21 2016 @@ -212,9 +212,8 @@ static const char *set_hc_condition(cmd_ cmd->cmd->name, NULL); } if (strlen(name) > (PROXY_WORKER_MAX_SCHEME_SIZE - 1)) { - return apr_pstrcat(cmd->temp_pool, "Expression name limited to %d characters (%s)", - (PROXY_WORKER_MAX_SCHEME_SIZE - 1), - cmd->cmd->name, NULL); + return apr_psprintf(cmd->temp_pool, "Expression name limited to %d characters", + (PROXY_WORKER_MAX_SCHEME_SIZE - 1)); } /* get expr. Allow fancy new {...} quoting style */ expr = ap_getword_conf2(cmd->temp_pool, &arg);