aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-15 20:06:36 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-15 20:06:36 -0400
commit00ff80e0ae3a07ff3e2148d66d59716bc4630096 (patch)
tree4d17d4f1bec1a50ac70579cffd720efdcea00e59 /src/or/routerlist.c
parent10d670674aa49ee6764cf93fe7d3f485a3f9ffd8 (diff)
downloadtor-00ff80e0ae3a07ff3e2148d66d59716bc4630096.tar.gz
tor-00ff80e0ae3a07ff3e2148d66d59716bc4630096.zip
Fixup whitespace issues from 3122 commit
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 9f04620986..be7ba0e965 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2008,8 +2008,8 @@ router_get_by_nickname(const char *nickname, int warn_if_unnamed)
if (n_matches <= 1 || router->is_running)
best_match = router;
} else if (maybedigest &&
- tor_memeq(digest, router->cache_info.identity_digest, DIGEST_LEN)
- ) {
+ tor_memeq(digest, router->cache_info.identity_digest,
+ DIGEST_LEN)) {
if (router_hex_digest_matches(router, nickname))
return router;
/* If we reach this point, we have a ID=name syntax that matches the
@@ -4665,8 +4665,9 @@ routerinfo_incompatible_with_extrainfo(routerinfo_t *ri, extrainfo_t *ei,
/* The identity must match exactly to have been generated at the same time
* by the same router. */
- if (tor_memneq(ri->cache_info.identity_digest, ei->cache_info.identity_digest,
- DIGEST_LEN)) {
+ if (tor_memneq(ri->cache_info.identity_digest,
+ ei->cache_info.identity_digest,
+ DIGEST_LEN)) {
if (msg) *msg = "Extrainfo nickname or identity did not match routerinfo";
goto err; /* different servers */
}