summaryrefslogtreecommitdiffstats
path: root/server/core.c
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2015-08-03 17:29:42 +0200
committerEric Covener <covener@apache.org>2015-08-03 17:29:42 +0200
commit7c3e46820da91ac03f0d160b6806e7f3d86c5304 (patch)
treebf2d217b52d211035a87016895aba96a766acbc0 /server/core.c
parentRebuild (diff)
downloadapache2-7c3e46820da91ac03f0d160b6806e7f3d86c5304.tar.xz
apache2-7c3e46820da91ac03f0d160b6806e7f3d86c5304.zip
c89
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1693918 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/core.c b/server/core.c
index 424c364bae..97c0b1c862 100644
--- a/server/core.c
+++ b/server/core.c
@@ -3808,6 +3808,7 @@ static const char *set_protocols(cmd_parms *cmd, void *dummy,
{
core_server_config *conf =
ap_get_core_module_config(cmd->server->module_config);
+ const char **np;
const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE);
if (err) {
@@ -3815,7 +3816,7 @@ static const char *set_protocols(cmd_parms *cmd, void *dummy,
}
/* Should we check for some ALPN valid char sequence here? */
- const char **np = (const char **)apr_array_push(conf->protocols);
+ np = (const char **)apr_array_push(conf->protocols);
*np = arg;
return NULL;