1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Improve error message (related to PR57311 diagnostic)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1682819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christophe Jaillet
2015-06-01 05:45:13 +00:00
parent 86c204dac3
commit d83f45cee1

View File

@@ -1152,7 +1152,7 @@ PROXY_DECLARE(char *) ap_proxy_define_balancer(apr_pool_t *p,
c = strchr(uri, ':');
if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0')
return "Bad syntax for a balancer name";
return apr_psprintf(p, "Bad syntax for a balancer name (%s)", uri);
/* remove path from uri */
if ((q = strchr(c + 3, '/')))
*q = '\0';