]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1800 in SNORT/snort3 from ~NIHDESAI/snort3:ftp_warn to master
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 15 Oct 2019 19:29:22 +0000 (15:29 -0400)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 15 Oct 2019 19:29:22 +0000 (15:29 -0400)
Squashed commit of the following:

commit 450926ec637f648f53a007f0dd92e2c940cf702b
Author: Nihal Desai <nihdesai@cisco.com>
Date:   Tue Oct 15 02:15:08 2019 -0400

    ftp: fix for missing prototype warning

src/service_inspectors/ftp_telnet/ftp_module.cc

index 65e47f9974f8a1d5668ab16b7a1f87967d09dcef..5211ea24340ee3e9de58f283ecb6f4568508100b 100644 (file)
@@ -493,7 +493,7 @@ static void ResetStringFormat(FTP_PARAM_FMT* Fmt)
     ResetStringFormat(Fmt->next_param_fmt);
 }
 
-int ProcessFTPDataChanCmdsList(
+static int ProcessFTPDataChanCmdsList(
     FTP_SERVER_PROTO_CONF* ServerConf, const FtpCmd* fc)
 {
     const char* cmd = fc->name.c_str();