mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-19 20:14:17 +02:00
Fix infinite loop on 0-byte writes over IPC.
This commit is contained in:
parent
a87ecefab0
commit
d68c97cdc0
1 changed files with 0 additions and 4 deletions
|
|
@ -127,10 +127,6 @@ ipc_client_handle_writable(int client_fd, uint32_t mask, void *data) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
if(client->write_buffer_len <= 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(fcntl(client->fd, F_GETFD) == -1) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue