This commit is contained in:
Benjamin Peterson 2014-05-26 15:11:11 -07:00
commit 3ecb1928cb
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ length message::
chunk = self.sock.recv(min(MSGLEN - bytes_recd, 2048))
if chunk == b'':
raise RuntimeError("socket connection broken")
chucks.append(chunk)
chunks.append(chunk)
bytes_recd = bytes_recd + len(chunk)
return b''.join(chunks)