detect/file: reorder struct fields to reduce padding

and make scan-build happy
pull/15726/head
Philippe Antoine 6 months ago committed by Victor Julien
parent 89dbce1b46
commit f56501215f

@ -68,8 +68,8 @@ int PrefilterMpmFiledataRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, Mpm
// file protocols with common file handling
typedef struct {
AppProto alproto;
int direction;
AppProto alproto;
uint8_t to_client_progress;
uint8_t to_server_progress;
} DetectFileHandlerProtocol_t;

Loading…
Cancel
Save