summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Frederic Clere <jfclere@apache.org>2006-07-29 00:34:18 +0000
committerJean-Frederic Clere <jfclere@apache.org>2006-07-29 00:34:18 +0000
commit1910d1775d299d41b08592f72d9570f7f06c4303 (patch)
tree48e9e9b14a73019bc4a8425eac912311bc8cc37d
parentd8cb409f89331f24529727d3a99492079a3c2f55 (diff)
downloadhttpd-1910d1775d299d41b08592f72d9570f7f06c4303.tar.gz
Typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpd-proxy-scoreboard@426723 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--support/proxymonitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/support/proxymonitor.c b/support/proxymonitor.c
index 3634c56c55..51aaee833a 100644
--- a/support/proxymonitor.c
+++ b/support/proxymonitor.c
@@ -91,8 +91,7 @@ char * ap_server_root_relative(apr_pool_t *p, const char *name)
/* XXX: apr_filepath_merge better ? */
if (basedir && name[0] != '/') {
- fname = apr_pcalloc(p, strlen(basedir)+strlen(name)+1);
- apr_pstrcat(fname, basedir, "/", name, NULL);
+ fname = apr_pstrcat(p, basedir, "/", name, NULL);
} else {
fname = apr_pstrdup(p, name);
}