]> granicus.if.org Git - apache/commitdiff
mod_lua: Fix unitialized variable in lua_ap_send_interim_response.
authorDaniel Gruno <humbedooh@apache.org>
Sun, 16 Dec 2012 11:30:54 +0000 (11:30 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sun, 16 Dec 2012 11:30:54 +0000 (11:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422531 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_apr.c

index 383115945d26a7049ce6ba9ae9c53438fcdc929d..ce109b1d0a2f88e1106c0dc31d9f7322acd1f9f3 100644 (file)
@@ -1000,7 +1000,7 @@ static int lua_ap_make_etag (lua_State *L) {
 static int lua_ap_send_interim_response (lua_State *L) {
 
     request_rec *r;
-    int send_headers;
+    int send_headers = 0;
     luaL_checktype(L, 1, LUA_TUSERDATA);
     r = ap_lua_check_request_rec(L, 1);
     if ( lua_isboolean( L, 2 ) ) send_headers =  lua_toboolean( L, 2 );