]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http: use alias for htp opaque htp_tx_t
authorPhilippe Antoine <pantoine@oisf.net>
Sun, 19 Jan 2025 20:23:36 +0000 (21:23 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 23 Jan 2025 18:10:44 +0000 (19:10 +0100)
In preparation of libhtp rust

This occurence was missed in 23050d70ede31e842b316908c3428fabeb1de8f9

src/util-lua-http.c

index 2eff47861d4ed1b9779021aa37e014ba794f1f49..48d69c03953cf2a09b0da59db30283378b32e9bf 100644 (file)
@@ -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)