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

[tor-commits] [flashproxy/master] Fix the test for duplicate --register-addr.



commit de78ea0a881eeeef7f25cfd090d397d549274076
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sat Feb 1 19:57:38 2014 -0800

    Fix the test for duplicate --register-addr.
    
    Was broken by 4b0292e01bca5aa6e2585340f8bd8a2a09034682.
---
 flashproxy-client |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flashproxy-client b/flashproxy-client
index 6a7667e..f3c8926 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -1113,7 +1113,7 @@ def main():
         elif o == "-r" or o == "--register":
             options.register = True
         elif o == "--register-addr":
-            if options.register_addr is not None:
+            if register_addr_spec is not None:
                 print >> sys.stderr, "%s: only one --register-addr is allowed." % sys.argv[0]
                 sys.exit(1)
             options.register = True



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