From d9ac7489db8e5b2a754ca8c884f8e1c673cda788 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 30 Jan 2025 14:56:11 +0100 Subject: [PATCH] http: remove obsolete comment In preparation of libhtp rust --- src/output-json-http.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/output-json-http.c b/src/output-json-http.c index 0fa6414668..ede4835742 100644 --- a/src/output-json-http.c +++ b/src/output-json-http.c @@ -290,9 +290,7 @@ static void EveHttpLogJSONExtended(JsonBuilder *js, htp_tx_t *tx) (uint32_t)bstr_len(htp_tx_request_protocol(tx))); } - /* response status: from libhtp: - * "Response status code, available only if we were able to parse it, HTP_STATUS_INVALID - * otherwise. HTP_STATUS_UNKNOWN until parsing is attempted" .*/ + /* response status */ const int resp = htp_tx_response_status_number(tx); if (resp > 0) { jb_set_uint(js, "status", (uint32_t)resp);