From: Philippe Antoine Date: Sun, 19 Jan 2025 20:23:36 +0000 (+0100) Subject: http: use alias for htp opaque htp_tx_t X-Git-Tag: suricata-8.0.0-beta1~532 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e31e14c009b956eacc61d476cbd3a9f177c96f;p=thirdparty%2Fsuricata.git http: use alias for htp opaque htp_tx_t In preparation of libhtp rust This occurence was missed in 23050d70ede31e842b316908c3428fabeb1de8f9 --- diff --git a/src/util-lua-http.c b/src/util-lua-http.c index 2eff47861d..48d69c0395 100644 --- a/src/util-lua-http.c +++ b/src/util-lua-http.c @@ -138,7 +138,7 @@ static int HttpGetResponseLine(lua_State *luastate) return LuaCallbackError(luastate, "no response_line"); return LuaPushStringBuffer( - luastate, bstr_ptr(htp_tx_response_line(tx)), bstr_len(tx->response_line)); + luastate, bstr_ptr(htp_tx_response_line(tx)), bstr_len(htp_tx_response_line(tx))); } static int HttpGetHeader(lua_State *luastate, int dir)