httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1527063 - /httpd/httpd/trunk/modules/lua/mod_lua.c
Date Fri, 27 Sep 2013 20:30:48 GMT
Author: covener
Date: Fri Sep 27 20:30:47 2013
New Revision: 1527063

URL: http://svn.apache.org/r1527063
Log:
r1526906 followup:

 error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]


Modified:
    httpd/httpd/trunk/modules/lua/mod_lua.c

Modified: httpd/httpd/trunk/modules/lua/mod_lua.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.c?rev=1527063&r1=1527062&r2=1527063&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.c (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.c Fri Sep 27 20:30:47 2013
@@ -1951,10 +1951,11 @@ static int lua_post_config(apr_pool_t *p
                              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;



Mime
View raw message