]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/file-data: minor cleanups
authorVictor Julien <victor@inliniac.net>
Thu, 13 Dec 2018 10:28:51 +0000 (11:28 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 29 Jan 2019 12:27:57 +0000 (13:27 +0100)
src/detect-engine-hsbd.c

index 86a84b13269249c0b78e234dcca15ed64551b9f0..5b1e0cb96668d4733e0541061c90f06f3c95e9e8 100644 (file)
@@ -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) {