[or-cvs] re-enable recommendedversion checking (oops, thanks weasel)
Roger Dingledine
arma at seul.org
Tue Mar 30 00:02:54 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
routerlist.c
Log Message:
re-enable recommendedversion checking (oops, thanks weasel)
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- routerlist.c 29 Mar 2004 19:50:59 -0000 1.42
+++ routerlist.c 30 Mar 2004 00:02:52 -0000 1.43
@@ -389,8 +389,7 @@
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.",
More information about the tor-commits
mailing list