give correct warning message when you're running an old version

svn:r546
This commit is contained in:
Roger Dingledine 2003-10-07 16:56:27 +00:00
parent 4039eccd6f
commit 0b8a0c3720

View File

@ -537,7 +537,7 @@ int router_get_dir_from_string(char *s, crypto_pk_env_t *pkey)
return -1; return -1;
} }
if (compare_recommended_versions(VERSION, directory->software_versions) < 0) { if (compare_recommended_versions(VERSION, directory->software_versions) < 0) {
log(LOG_WARNING, "You are running tor version %s, which is no longer supported.\nPlease upgrade to one of %s.", VERSION, RECOMMENDED_SOFTWARE_VERSIONS); log(LOG_WARNING, "You are running tor version %s, which is no longer supported.\nPlease upgrade to one of %s.", VERSION, directory->software_versions);
if(options.IgnoreVersion) { if(options.IgnoreVersion) {
log(LOG_WARNING, "IgnoreVersion is set. If it breaks, we told you so."); log(LOG_WARNING, "IgnoreVersion is set. If it breaks, we told you so.");
} else { } else {