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

[tor-commits] [flashproxy/master] Always log the "Registering" message.



commit a88fc15875e6ccf5bade81839443a9a4674a1a1c
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Sep 23 15:39:45 2012 -0700

    Always log the "Registering" message.
---
 flashproxy-client |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/flashproxy-client b/flashproxy-client
index e80c879..637cdc5 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -650,9 +650,8 @@ def register():
         return
     command = [os.path.join(script_dir, "flashproxy-reg-http")]
     spec = format_addr(options.register_addr)
-    if options.facilitator_url is None:
-        log(u"Registering \"%s\"." % spec)
-    else:
+    log(u"Registering \"%s\"." % spec)
+    if options.facilitator_url is not None:
         command += ["-f", options.facilitator_url]
     command += [spec]
     try:



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