mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_lua: Fix unitialized variable in lua_ap_send_interim_response.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1000,7 +1000,7 @@ static int lua_ap_make_etag (lua_State *L) {
|
|||||||
static int lua_ap_send_interim_response (lua_State *L) {
|
static int lua_ap_send_interim_response (lua_State *L) {
|
||||||
|
|
||||||
request_rec *r;
|
request_rec *r;
|
||||||
int send_headers;
|
int send_headers = 0;
|
||||||
luaL_checktype(L, 1, LUA_TUSERDATA);
|
luaL_checktype(L, 1, LUA_TUSERDATA);
|
||||||
r = ap_lua_check_request_rec(L, 1);
|
r = ap_lua_check_request_rec(L, 1);
|
||||||
if ( lua_isboolean( L, 2 ) ) send_headers = lua_toboolean( L, 2 );
|
if ( lua_isboolean( L, 2 ) ) send_headers = lua_toboolean( L, 2 );
|
||||||
|
Reference in New Issue
Block a user