[tor-commits] [flashproxy/rtmfp] Fix a syntax error in "data from unconnected remote" message.

dcf at torproject.org dcf at torproject.org
Fri Jun 10 13:59:54 UTC 2011


commit f23dc0aa8b122c7be6b6ead300b255388041e57a
Author: David Fifield <david at bamsoftware.com>
Date:   Wed Jun 8 09:49:32 2011 -0700

    Fix a syntax error in "data from unconnected remote" message.
---
 connector.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/connector.py b/connector.py
index 78db084..c2c648e 100755
--- a/connector.py
+++ b/connector.py
@@ -386,7 +386,7 @@ while True:
                 remotes.remove(fd)
                 fd.close()
             else:
-                log(u"Data from unconnected remote %s (%d bytes)." % format_addr(fd.getpeername(), len(data)))
+                log(u"Data from unconnected remote %s (%d bytes)." % format_addr(fd.getpeername()), len(data))
                 fd.buf += data
                 if len(fd.buf) >= UNCONNECTED_BUFFER_LIMIT:
                     log(u"Refusing to buffer more than %d bytes from local %s." % (UNCONNECTED_BUFFER_LIMIT, format_addr(fd.getpeername())))





More information about the tor-commits mailing list