diff options
author | trinity-1686a <trinity@deuxfleurs.fr> | 2023-11-16 19:13:28 +0100 |
---|---|---|
committer | trinity-1686a <trinity@deuxfleurs.fr> | 2023-11-16 19:15:25 +0100 |
commit | 635220734df1e3520fa81dff8be5ad6326ee8d64 (patch) | |
tree | c06f4099b10a7325ec9534b839bac987589cea48 /src/feature/dirauth/dirauth_config.c | |
parent | cec6f9919d3128646d85c75d08338bea4b31bffa (diff) | |
download | tor-635220734df1e3520fa81dff8be5ad6326ee8d64.tar.gz tor-635220734df1e3520fa81dff8be5ad6326ee8d64.zip |
don't warn for empty RecommendedServerVersion
Diffstat (limited to 'src/feature/dirauth/dirauth_config.c')
-rw-r--r-- | src/feature/dirauth/dirauth_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirauth_config.c b/src/feature/dirauth/dirauth_config.c index 862ea9dafe..9378b0ffe6 100644 --- a/src/feature/dirauth/dirauth_config.c +++ b/src/feature/dirauth/dirauth_config.c @@ -471,7 +471,7 @@ dirauth_options_validate(const void *arg, char **msg) smartlist_split_string(version_sl, recommended_versions, ",", SPLIT_SKIP_SPACE, 0); SMARTLIST_FOREACH_BEGIN(version_sl, const char *, version) { - if (tor_version_parse(version, + if (version[0] != '\0' && tor_version_parse(version, &recommended_version) != 0) { COMPLAIN("Found unparseable version in RecommendedServerVersions"); continue; |