commit f331902c57843e15250a6c698c5d80c7dffd6bf5 Author: Karsten Loesing karsten.loesing@gmx.net Date: Mon Jan 23 18:36:08 2012 +0100
Fix an awful copy-and-paste error. --- .../torproject/descriptor/impl/DescriptorImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/descriptor/impl/DescriptorImpl.java b/src/org/torproject/descriptor/impl/DescriptorImpl.java index 2d20fa7..7be2fbb 100644 --- a/src/org/torproject/descriptor/impl/DescriptorImpl.java +++ b/src/org/torproject/descriptor/impl/DescriptorImpl.java @@ -32,7 +32,7 @@ public abstract class DescriptorImpl implements Descriptor { if (firstLines.contains("\nvote-status consensus\n")) { parsedDescriptors.addAll(RelayNetworkStatusConsensusImpl. parseConsensuses(rawDescriptorBytes)); - } else if (firstLines.contains("\nvote-status consensus\n")) { + } else if (firstLines.contains("\nvote-status vote\n")) { parsedDescriptors.addAll(RelayNetworkStatusVoteImpl. parseVotes(rawDescriptorBytes)); } else {
tor-commits@lists.torproject.org