diff options
author | Roger Dingledine <arma@torproject.org> | 2004-09-23 22:18:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-09-23 22:18:50 +0000 |
commit | fa0a1ec49ff9cd93730e81f5eb4112624b5c0443 (patch) | |
tree | 3beb7863d2e6cf91a3c8b4a632624c423c5edfe2 /src/or/router.c | |
parent | 09f450104ae87cadf71e4eca982fc35446c6af30 (diff) | |
download | tor-fa0a1ec49ff9cd93730e81f5eb4112624b5c0443.tar.gz tor-fa0a1ec49ff9cd93730e81f5eb4112624b5c0443.zip |
cleanup: use strcmpstart() in more places
svn:r2372
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 8eb483643e..ce564ff97d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -397,7 +397,7 @@ void router_retry_connections(void) { int router_is_clique_mode(routerinfo_t *router) { if(router->is_trusted_dir) return 1; - if(!strncmp(router->platform, "Tor 0.0.7", 9)) + if(!strcmpstart(router->platform, "Tor 0.0.7")) return 1; return 0; } |