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

[or-cvs] [ernie/master] Fix NPE in the new logging code.



Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Thu, 15 Apr 2010 15:02:09 +0200
Subject: Fix NPE in the new logging code.
Commit: d4223c264e18b4742177f018eb9944b40d50eeea

---
 src/RelayDescriptorDownloader.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/RelayDescriptorDownloader.java b/src/RelayDescriptorDownloader.java
index 00b0c4f..f9182b3 100644
--- a/src/RelayDescriptorDownloader.java
+++ b/src/RelayDescriptorDownloader.java
@@ -199,15 +199,15 @@ public class RelayDescriptorDownloader {
             + "! This means that we might forget to dowload relay "
             + "descriptors we are missing.", e);
       }
+    }
 
-      dumpStats = new StringBuilder();
-      dumpStats.append("Finished downloading relay descriptors from the "
+    dumpStats = new StringBuilder();
+    dumpStats.append("Finished downloading relay descriptors from the "
         + "directory authorities:\nAt the beginning of this execution, "
         + "we were missing " + missingConsensuses + " consensus(es), "
         + missingVotes + " vote(s), " + missingServerDescriptors
         + " server descriptor(s), and " + missingExtraInfoDescriptors
         + " extra-info descriptor(s).\n");
-    }
   }
 
   /**
-- 
1.6.5