Skip to content
Snippets Groups Projects
Commit ebf2a875 authored by Constantin Papizh's avatar Constantin Papizh
Browse files

init concerned fixes

parent 4318f5ee
No related branches found
No related tags found
2 merge requests!21Master,!20init concerned fixes
......@@ -79,7 +79,10 @@ int dap_chain_node_client_init(void)
{
dap_config_t *g_config;
// read listen_port_tcp from settings
dap_config_init(SYSTEM_CONFIGS_DIR);
memcpy( l_sys_dir_path + l_sys_dir_path_len, SYSTEM_CONFIGS_DIR, sizeof(SYSTEM_CONFIGS_DIR) );
dap_config_init(l_sys_dir_path);
memset(l_sys_dir_path + l_sys_dir_path_len, '\0', MAX_PATH - l_sys_dir_path_len);
if((g_config = dap_config_open(DAP_APP_NAME)) == NULL) {
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment