1
0

minor fix in recv loop

This commit is contained in:
ThomasV
2011-12-06 14:48:51 +03:00
parent 5883aaf8ca
commit 000d5f5c31

View File

@@ -345,6 +345,8 @@ def client_thread(ipaddr,conn):
while 1:
d = conn.recv(1024)
msg += d
if not d:
break
if d[-1]=='#':
break