mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-22 08:10:10 +00:00
Don't complain about missing host configuration file
This commit is contained in:
@@ -190,7 +190,8 @@ int main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
char host_config_file[128];
|
char host_config_file[128];
|
||||||
sprintf(host_config_file, "hosts/%s.conf", config.address);
|
sprintf(host_config_file, "hosts/%s.conf", config.address);
|
||||||
config_file_parse(host_config_file, &config);
|
if (access(host_config_file, R_OK) != -1)
|
||||||
|
config_file_parse(host_config_file, &config);
|
||||||
|
|
||||||
SERVER_DATA server;
|
SERVER_DATA server;
|
||||||
server.address = config.address;
|
server.address = config.address;
|
||||||
|
|||||||
Reference in New Issue
Block a user