Browse Source

minor fix in recv loop

283
ThomasV 13 years ago
parent
commit
000d5f5c31
  1. 2
      server/server.py

2
server/server.py

@ -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

Loading…
Cancel
Save