[or-cvs] [ernie/master] Fix trivial NullPointerException.

karsten at torproject.org karsten at torproject.org
Wed Apr 14 10:35:10 UTC 2010


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 14 Apr 2010 12:34:53 +0200
Subject: Fix trivial NullPointerException.
Commit: d678aea9ad4a4079c5312f0baf19c2a95c5a4a45

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

diff --git a/src/RelayDescriptorDownloader.java b/src/RelayDescriptorDownloader.java
index 53ce5c1..e67def2 100644
--- a/src/RelayDescriptorDownloader.java
+++ b/src/RelayDescriptorDownloader.java
@@ -198,6 +198,7 @@ public class RelayDescriptorDownloader {
             + "descriptors we are missing.", e);
       }
 
+      dumpStats = new StringBuilder();
       dumpStats.append("Finished downloading relay descriptors from the "
         + "directory authorities:\nAt the beginning of this execution, "
         + "we were missing " + missingConsensuses + " consensuses, "
-- 
1.6.5



More information about the tor-commits mailing list