[or-cvs] Invert strcasecmp check for supports-rendezvous
Nick Mathewson
nickm at seul.org
Thu Apr 8 03:21:17 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv30901/src/or
Modified Files:
routerlist.c
Log Message:
Invert strcasecmp check for supports-rendezvous
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- routerlist.c 7 Apr 2004 22:25:37 -0000 1.59
+++ routerlist.c 8 Apr 2004 03:21:15 -0000 1.60
@@ -241,7 +241,7 @@
*/
int router_version_supports_rendezvous(routerinfo_t *router)
{
- return (router->platform && 0==strncasecmp(router->platform,"Tor 0.0.5",9));
+ return (router->platform && 0!=strncasecmp(router->platform,"Tor 0.0.5",9));
}
/* Add every router running a version of Tor too old for rend/intro
More information about the tor-commits
mailing list