From: Victor Julien Date: Thu, 13 Dec 2018 10:28:51 +0000 (+0100) Subject: detect/file-data: minor cleanups X-Git-Tag: suricata-5.0.0-beta1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce677abdf080725301f5db4ba466e8268af95f23;p=thirdparty%2Fsuricata.git detect/file-data: minor cleanups --- 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) {