[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/master] Fix consensus params check some more.



commit 213765575ff8c1b8381360ec58107b04cf0e597a
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Tue Nov 1 07:51:03 2011 +0100

    Fix consensus params check some more.
---
 src/org/torproject/chc/MetricsWebsiteReport.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/org/torproject/chc/MetricsWebsiteReport.java b/src/org/torproject/chc/MetricsWebsiteReport.java
index 01d126c..09ab17c 100644
--- a/src/org/torproject/chc/MetricsWebsiteReport.java
+++ b/src/org/torproject/chc/MetricsWebsiteReport.java
@@ -392,7 +392,7 @@ public class MetricsWebsiteReport implements Report {
         Map<String, String> voteConsensusParams =
             vote.getConsensusParams();
         boolean conflictOrInvalid = false;
-        if (voteConsensusParams == null) {
+        if (voteConsensusParams != null) {
           for (Map.Entry<String, String> e :
               voteConsensusParams.entrySet()) {
             if (!consensusConsensusParams.containsKey(e.getKey()) ||



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits