Set defaults before loading configuration file

This commit is contained in:
Ian Barwick
2020-05-08 14:46:16 +09:00
parent 029164a817
commit 04aee7b406
2 changed files with 136 additions and 47 deletions

View File

@@ -109,7 +109,7 @@ typedef struct ConfigFileSetting
const char *strdefault;
bool booldefault;
failover_mode_opt failovermodedefault;
ConnectionCheckType *checktypedefault;
ConnectionCheckType checktypedefault;
} defval;
union {
int intminval;