aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-30 00:02:52 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-30 00:02:52 +0000
commitc09b185f030b6c1f6d7f7d8b4f2295f26e48f8c2 (patch)
tree31822054b95001f34077f1842fbe692e1ad03cf0
parentce200ae133f1700e749c28454f572dbf7e8778ab (diff)
downloadtor-c09b185f030b6c1f6d7f7d8b4f2295f26e48f8c2.tar
tor-c09b185f030b6c1f6d7f7d8b4f2295f26e48f8c2.tar.gz
re-enable recommendedversion checking (oops, thanks weasel)
svn:r1376
-rw-r--r--src/or/routerlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index daabe5122..10990d730 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -389,8 +389,7 @@ int router_set_routerlist_from_directory(const char *s, crypto_pk_env_t *pkey)
log_fn(LOG_WARN, "Error resolving routerlist");
return -1;
}
- if (is_recommended_version(VERSION,
- routerlist->software_versions) < 0) {
+ if (!is_recommended_version(VERSION, routerlist->software_versions)) {
log(options.IgnoreVersion ? LOG_WARN : LOG_ERR,
"You are running Tor version %s, which will not work with this network.\n"
"Please use %s%s.",