]> granicus.if.org Git - apache/commitdiff
c89
authorEric Covener <covener@apache.org>
Mon, 3 Aug 2015 15:29:42 +0000 (15:29 +0000)
committerEric Covener <covener@apache.org>
Mon, 3 Aug 2015 15:29:42 +0000 (15:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1693918 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 424c364bae1f8d526dd5fb4af5806cecebd31387..97c0b1c862f5a912e7f81f0d582791dfd3d3ec98 100644 (file)
@@ -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;