From: huica Date: Thu, 10 Sep 2015 14:45:26 +0000 (-0400) Subject: fixed comments and spaces X-Git-Tag: 3.0.0-233~828^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=555c60ec3366a9ae48aec476faa2647d85aec5c8;p=thirdparty%2Fsnort3.git fixed comments and spaces --- diff --git a/src/mime/decode_buffer.h b/src/mime/decode_buffer.h index 9ea57893b..3997e3d5e 100644 --- a/src/mime/decode_buffer.h +++ b/src/mime/decode_buffer.h @@ -16,7 +16,7 @@ // with this program; if not, write to the Free Software Foundation, Inc., // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. //-------------------------------------------------------------------------- -// sf_email_attach_decode.h author Bhagyashree Bantwal +// author Bhagyashree Bantwal #ifndef DECODE_BUFFER_H #define DECODE_BUFFER_H diff --git a/src/mime/file_mime_decode.h b/src/mime/file_mime_decode.h index 562928a75..730a2fa80 100644 --- a/src/mime/file_mime_decode.h +++ b/src/mime/file_mime_decode.h @@ -30,7 +30,7 @@ #include "main/snort_types.h" -typedef enum +enum { DECODE_NONE = 0, DECODE_B64, @@ -69,7 +69,7 @@ private: DataDecode* decoder = NULL; }; -// Todo: add statistics +// FIXIT-L: add statistics //struct MimeStats //{ // uint64_t memcap_exceeded; diff --git a/src/mime/file_mime_log.h b/src/mime/file_mime_log.h index 18b062179..0fdaa2a68 100644 --- a/src/mime/file_mime_log.h +++ b/src/mime/file_mime_log.h @@ -29,7 +29,6 @@ #include "file_mime_log.h" #include "file_api/file_api.h" - enum EmailUserType { EMAIL_SENDER, diff --git a/src/mime/file_mime_paf.h b/src/mime/file_mime_paf.h index a23b4b128..8a065f2bd 100644 --- a/src/mime/file_mime_paf.h +++ b/src/mime/file_mime_paf.h @@ -31,7 +31,6 @@ #include "file_mime_config.h" #include "file_api/file_api.h" - /* State tracker for data */ enum MimeDataState { @@ -70,7 +69,6 @@ struct MimeDataPafInfo MimeBoundaryState boundary_state; }; - static inline bool scanning_boundary(MimeDataPafInfo* mime_info, uint32_t boundary_start, uint32_t* fp) { @@ -85,7 +83,6 @@ static inline bool scanning_boundary(MimeDataPafInfo* mime_info, uint32_t bounda return false; } - void reset_mime_paf_state(MimeDataPafInfo *data_info); /* Process data boundary and flush each file based on boundary*/ bool process_mime_paf_data(MimeDataPafInfo *data_info, uint8_t val);