Commit 18f9ed55 authored by anonym's avatar anonym

tor-controlport-filter: fix inconsistent line breaks.

parent ec0ca483
......@@ -143,6 +143,7 @@ DEFAULT_CONTROL_SOCKET_PATH = '/var/run/tor/control'
class NoRewriteMatch(RuntimeError):
pass
def log(msg):
print(msg, file=sys.stderr)
sys.stderr.flush()
......@@ -426,7 +427,6 @@ class FilteredControlPortProxySession:
class FilteredControlPortProxyHandler(socketserver.StreamRequestHandler):
def debug_log(self, line, format_multiline=False, sep = ': '):
line = line.strip()
if format_multiline and "\n" in line:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment