mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
Fix patch to TorControl.py
svn:r4195
This commit is contained in:
parent
7a50dee157
commit
0b15170cf3
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ def _receive_msg(s):
|
|||
length,type = struct.unpack("!HH",header)
|
||||
if length:
|
||||
while length > len(body):
|
||||
body += s.recv(length)
|
||||
body += s.recv(length-len(body))
|
||||
return length,type,body
|
||||
|
||||
def receive_message(s):
|
||||
|
|
Loading…
Add table
Reference in a new issue