Fixed config load for MSVC.
This commit is contained in:
parent
9cb7d727c2
commit
e3dd4a6581
5 changed files with 17 additions and 6 deletions
|
@ -506,6 +506,8 @@ void Options::parseConfig(const char *fileName)
|
|||
return;
|
||||
}
|
||||
|
||||
uv_fs_req_cleanup(&req);
|
||||
|
||||
json_error_t err;
|
||||
json_t *config = json_loadfd(fd, 0, &err);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue