From ce677abdf080725301f5db4ba466e8268af95f23 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 13 Dec 2018 11:28:51 +0100 Subject: [PATCH] detect/file-data: minor cleanups --- src/detect-engine-hsbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detect-engine-hsbd.c b/src/detect-engine-hsbd.c index 86a84b1326..5b1e0cb966 100644 --- a/src/detect-engine-hsbd.c +++ b/src/detect-engine-hsbd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2016 Open Information Security Foundation +/* Copyright (C) 2007-2018 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -67,7 +67,7 @@ #include "util-validate.h" -static HtpBody *GetResponseBody(htp_tx_t *tx) +static inline HtpBody *GetResponseBody(htp_tx_t *tx) { HtpTxUserData *htud = (HtpTxUserData *)htp_tx_get_user_data(tx); if (htud == NULL) { -- 2.47.2