mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Invert strcasecmp check for supports-rendezvous
svn:r1560
This commit is contained in:
parent
3e7c8a40bc
commit
ede1d3e42d
@ -241,7 +241,7 @@ void router_add_running_routers_to_smartlist(smartlist_t *sl) {
|
||||
*/
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user