[tor-commits] [flashproxy/master] Remove some useless getpeername calls.

dcf at torproject.org dcf at torproject.org
Sun Sep 23 17:21:21 UTC 2012


commit 70978593e4f96c77017a707aa513583199b00200
Author: David Fifield <david at bamsoftware.com>
Date:   Sun Sep 23 10:18:47 2012 -0700

    Remove some useless getpeername calls.
---
 flashproxy-client |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/flashproxy-client b/flashproxy-client
index a7e4b50..16c95ec 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -738,8 +738,6 @@ def match_proxies():
     while unlinked_remotes and unlinked_locals:
         remote = unlinked_remotes.pop(0)
         local = unlinked_locals.pop(0)
-        remote_addr, remote_port = remote.getpeername()
-        local_addr, local_port = local.getpeername()
         log(u"Linking %s and %s." % (safe_format_peername(local), safe_format_peername(remote)))
         remote.partner = local
         local.partner = remote



More information about the tor-commits mailing list