[tor-commits] [vidalia/alpha] Add Dependant to isMultivalued()

chiiph at torproject.org chiiph at torproject.org
Sat Jul 21 19:17:47 UTC 2012


commit bbb52124cdb2aca774d8ca3d44000d53ce193552
Author: Feroze Naina <ferozenaina at gmail.com>
Date:   Wed Jun 13 22:59:10 2012 +0530

    Add Dependant to isMultivalued()
---
 src/vidalia/config/torrc/TorrcParser.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/vidalia/config/torrc/TorrcParser.h b/src/vidalia/config/torrc/TorrcParser.h
index 94ef148..63f6f4a 100644
--- a/src/vidalia/config/torrc/TorrcParser.h
+++ b/src/vidalia/config/torrc/TorrcParser.h
@@ -104,7 +104,7 @@ class TorOpt
   /** Returns true if this option can be defined multiple times with
    *  different values */
   bool isMultivalued()
-  { return _type == LineList; }
+  { return _type == LineList or _type == Dependant; }
 
   /** Returns the name for this option */
   QString name() const





More information about the tor-commits mailing list