Kept spinning in send()

This commit is contained in:
Jan Vidar Krey 2009-07-19 14:45:15 +02:00
parent 03d3ffd20f
commit adeaf23f9c
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ int handle_net_write(struct user* user)
if (ret == -2) if (ret == -2)
break; break;
if (ret < 0) if (ret <= 0)
return quit_socket_error; return quit_socket_error;
} }