From f115c49281f996a96e04f25e92e642dedbbd7a0b Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Thu, 25 Feb 2016 06:51:13 +0000 Subject: [PATCH] Save a few bytes in conf pool when parsing 'DefaultRuntimeDir' directive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732252 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core.c b/server/core.c index c7cc97538a..717376e268 100644 --- a/server/core.c +++ b/server/core.c @@ -3056,7 +3056,7 @@ static const char *set_runtime_dir(cmd_parms *cmd, void *dummy, const char *arg) } if ((apr_filepath_merge((char**)&ap_runtime_dir, NULL, - ap_server_root_relative(cmd->pool, arg), + ap_server_root_relative(cmd->temp_pool, arg), APR_FILEPATH_TRUENAME, cmd->pool) != APR_SUCCESS) || !ap_is_directory(cmd->temp_pool, ap_runtime_dir)) { return "DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot"; -- 2.49.0