[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] re-enable recommendedversion checking (oops, thanks weasel)
- To: or-cvs@freehaven.net
- Subject: [or-cvs] re-enable recommendedversion checking (oops, thanks weasel)
- From: arma@seul.org (Roger Dingledine)
- Date: Mon, 29 Mar 2004 19:02:54 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 29 Mar 2004 19:03:11 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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.",