lib/riddle/client.rb in freelancing-god-riddle-0.9.8.1533.4 vs lib/riddle/client.rb in freelancing-god-riddle-0.9.8.1533.5

- old
+ new

@@ -454,10 +454,10 @@ end header = socket.recv(8) status, version, length = header.unpack('n2N') - while response.length < length + while response.length < (length || 0) part = socket.recv(length - response.length) response << part if part end end