]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
r1526906 followup:
authorEric Covener <covener@apache.org>
Fri, 27 Sep 2013 20:30:47 +0000 (20:30 +0000)
committerEric Covener <covener@apache.org>
Fri, 27 Sep 2013 20:30:47 +0000 (20:30 +0000)
 error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527063 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/mod_lua.c

index cb3d6bcfdd2f88f6b873798e6c5cfe0ecbae6b72..52a75fb2821c178e969359a6d7a87a78667edda0 100644 (file)
@@ -1951,10 +1951,11 @@ static int lua_post_config(apr_pool_t *pconf, apr_pool_t *plog,
                              apr_pool_t *ptemp, server_rec *s)
 {
     apr_pool_t **pool;
-    lua_ssl_val = APR_RETRIEVE_OPTIONAL_FN(ssl_var_lookup);
-    lua_ssl_is_https = APR_RETRIEVE_OPTIONAL_FN(ssl_is_https);
     const char *tempdir;
     apr_status_t rs;
+
+    lua_ssl_val = APR_RETRIEVE_OPTIONAL_FN(ssl_var_lookup);
+    lua_ssl_is_https = APR_RETRIEVE_OPTIONAL_FN(ssl_is_https);
     
     if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG)
         return OK;