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

[or-cvs] [ernie/master] || != &&



Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Sun, 7 Mar 2010 21:00:31 +0100
Subject: || != &&
Commit: f1e8f8917f8c67bf68325c9ef3276e81a6ff8e02

---
 src/Main.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Main.java b/src/Main.java
index 12c91c4..06cba06 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -40,8 +40,8 @@ public class Main {
 
     // Prepare relay descriptor parser (only if we are writing the
     // stats)
-    RelayDescriptorParser rdp = config.getWriteConsensusStats() &&
-        config.getWriteBridgeStats() && config.getWriteDirreqStats() ?
+    RelayDescriptorParser rdp = config.getWriteConsensusStats() ||
+        config.getWriteBridgeStats() || config.getWriteDirreqStats() ?
         new RelayDescriptorParser(csfh, bsfh, dsfh, sdsfh, countries,
         directories) : null;
 
-- 
1.6.5