summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index dcd8159aff..34d1e6ec98 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1433,8 +1433,9 @@ networkstatus_set_current_consensus(const char *consensus, unsigned flags)
}
if (current_consensus &&
- tor_memeq(c->networkstatus_digest, current_consensus->networkstatus_digest,
- DIGEST_LEN)) {
+ tor_memeq(c->networkstatus_digest,
+ current_consensus->networkstatus_digest,
+ DIGEST_LEN)) {
/* We already have this one. That's a failure. */
log_info(LD_DIR, "Got a consensus we already have");
goto done;