Kept spinning in send()
This commit is contained in:
1 parent
03d3ffd20f
commit
adeaf23f9c
1 file changed
+1
-1
+1
-1
@@ -218,7 +218,7 @@ int handle_net_write(struct user* user)
|
||||
if (ret == -2)
|
||||
break;
|
||||
|
||||
if (ret < 0)
|
||||
if (ret <= 0)
|
||||
return quit_socket_error;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user