config: Use same type to store all bools 52/213052/3
authorKarol Lewandowski <karol.k.lewandowski@gmail.com>
Thu, 29 Aug 2019 20:57:02 +0000 (22:57 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 3 Sep 2019 13:42:37 +0000 (15:42 +0200)
Change-Id: Ife768dd5b71355759db7d678d7c3fd6a5399e811

src/shared/config.h

index 5c3ea1f..aea42ea 100644 (file)
@@ -39,11 +39,11 @@ enum ReportType {
 
 typedef struct config {
        bool allow_zip;
+       bool dump_core;
        int system_max_use;
        int system_keep_free;
        int max_retention_sec;
        int max_crash_dump;
-       int dump_core;
        enum ReportType report_type;
        char *crash_root_path;
        char *extra_script;