Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SuperNET.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ void SuperNET_initconf(cJSON *json)
printf("ensure.(%s)\n",SUPERNET.DBPATH);
os_compatible_path(SUPERNET.DBPATH), ensure_directory(SUPERNET.DBPATH);
//#ifdef INSIDE_MGW
char buf[512];
char buf[sizeof(MGW.PATH)+8];
copy_cJSON2(RAMCHAINS.pullnode,sizeof(RAMCHAINS.pullnode),cJSON_GetObjectItem(json,"pullnode"));
copy_cJSON2(SOPHIA.PATH,sizeof(SOPHIA.PATH),cJSON_GetObjectItem(json,"SOPHIA"));
copy_cJSON2(SOPHIA.RAMDISK,sizeof(SOPHIA.RAMDISK),cJSON_GetObjectItem(json,"RAMDISK"));
Expand Down