From: Victor Julien Date: Fri, 13 Nov 2015 09:33:21 +0000 (+0100) Subject: file: shrink data structure X-Git-Tag: suricata-3.0.1RC1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914f7fa73384f74b0207284052d5bf130724d6f9;p=thirdparty%2Fsuricata.git file: shrink data structure --- diff --git a/src/util-file.h b/src/util-file.h index 96f1939f2f..ae3732d5c7 100644 --- a/src/util-file.h +++ b/src/util-file.h @@ -61,11 +61,11 @@ typedef struct FileData_ { typedef struct File_ { uint16_t flags; + uint16_t name_len; + int16_t state; uint64_t txid; /**< tx this file is part of */ uint32_t file_id; uint8_t *name; - uint16_t name_len; - int16_t state; uint64_t size; /**< size tracked so far */ char *magic; FileData *chunks_head;