summaryrefslogtreecommitdiff
path: root/contrib/TorControl.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-31 05:52:23 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-31 05:52:23 +0000
commit14296cd49c66cc6ad2f0158c1d657aba66975e50 (patch)
tree2150f3afe84b807544bd3ecb31a6ce03cfa4df96 /contrib/TorControl.py
parent13bd755ae65c5978243ad6e7028a478dc51b7547 (diff)
downloadtor-14296cd49c66cc6ad2f0158c1d657aba66975e50.tar.gz
tor-14296cd49c66cc6ad2f0158c1d657aba66975e50.zip
First cut at server-poker.
svn:r3924
Diffstat (limited to 'contrib/TorControl.py')
-rwxr-xr-xcontrib/TorControl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/TorControl.py b/contrib/TorControl.py
index 5a63ad4187..815ceecc83 100755
--- a/contrib/TorControl.py
+++ b/contrib/TorControl.py
@@ -206,7 +206,7 @@ def receive_reply(s, expected=None):
_, tp, body = receive_message(s)
if tp == MSG_TYPE.EVENT:
if _event_handler is not None:
- _event_handler(tp, body)
+ _event_handler(body)
elif tp == MSG_TYPE.ERROR:
if len(body)<2:
raise ProtocolError("(Truncated error message)")