[tor-commits] [flashproxy/master] Fix the test for duplicate --register-addr.
dcf at torproject.org
dcf at torproject.org
Sun Feb 2 05:51:15 UTC 2014
commit de78ea0a881eeeef7f25cfd090d397d549274076
Author: David Fifield <david at bamsoftware.com>
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
More information about the tor-commits
mailing list