add: msgpack as binn replacement
This commit is contained in:
parent
5b9f2aa49b
commit
61e025343d
11 changed files with 13650 additions and 4331 deletions
helpers
|
@ -26,7 +26,8 @@ helper_load_config(IniDispatch *disp, void *config_void)
|
|||
}
|
||||
if(CONFINI_IS_KEY("controller", "database"))
|
||||
{
|
||||
config->database = disp->value;
|
||||
config->database = malloc(sizeof(char) * (strlen(disp->value) + 1));
|
||||
strcpy(config->database, disp->value);
|
||||
return 0;
|
||||
}
|
||||
if(CONFINI_IS_KEY("controller", "discovery-port"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue