diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-24 00:29:42 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-24 00:29:42 +0200 |
commit | c3c566aaf146b292ad4638319a4750f9f843d65a (patch) | |
tree | e303645b14f969363857e777329ca8f03e075d53 /minecproxy | |
parent | 3afaf3d8f7617beed427c96e544ab177fabadaa4 (diff) |
Make async dns an explicit argument
Diffstat (limited to 'minecproxy')
-rw-r--r-- | minecproxy/main.c | 2 | ||||
-rw-r--r-- | minecproxy/server-config.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/minecproxy/main.c b/minecproxy/main.c index 3c996ad..f83b956 100644 --- a/minecproxy/main.c +++ b/minecproxy/main.c @@ -307,7 +307,7 @@ cfg_read() struct cfg_value value; if (!config_parse_line(path, &pos, mcfg_key_map, - &key, &keyname, &value)) + &key, &keyname, &value, false)) break; if (key == MCFG_KEY_INVALID) diff --git a/minecproxy/server-config.c b/minecproxy/server-config.c index e7cc422..c388eb2 100644 --- a/minecproxy/server-config.c +++ b/minecproxy/server-config.c @@ -165,7 +165,7 @@ scfg_parse(struct server *server) struct cfg_value value; if (!config_parse_line(server->name, &pos, scfg_key_map, - &key, &keyname, &value)) + &key, &keyname, &value, true)) break; if (key == SCFG_KEY_INVALID) |