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

[tor-commits] [metrics-lib/release] Implements fix discovered by karsten.



commit 352b71707122c0cf510235ed5bec08189a9d9ed5
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
Date:   Wed Jun 7 07:07:50 2017 +0000

    Implements fix discovered by karsten.
    Implements task-22533.
---
 src/main/java/org/torproject/descriptor/impl/DescriptorParserImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/descriptor/impl/DescriptorParserImpl.java b/src/main/java/org/torproject/descriptor/impl/DescriptorParserImpl.java
index 6db2883..6317597 100644
--- a/src/main/java/org/torproject/descriptor/impl/DescriptorParserImpl.java
+++ b/src/main/java/org/torproject/descriptor/impl/DescriptorParserImpl.java
@@ -150,7 +150,7 @@ public class DescriptorParserImpl implements DescriptorParser {
       int startDescriptor;
       if (startAnnotations == ascii.indexOf(key.keyword + SP,
           startAnnotations) || startAnnotations == ascii.indexOf(
-          key.keyword + SP)) {
+          key.keyword + NL)) {
         startDescriptor = startAnnotations;
       } else {
         startDescriptor = ascii.indexOf(NL + key.keyword + SP,



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