httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1725581 - /httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
Date Tue, 19 Jan 2016 18:16:22 GMT
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);



Mime
View raw message