fix: client__pollout always returning error, not handling error

This commit is contained in:
root 2025-05-17 08:46:26 +00:00
parent 76b53ad30c
commit c90622c564
2 changed files with 6 additions and 3 deletions

View file

@ -137,15 +137,16 @@ client__pollout__shunt__finished:
jl client__pollout__return
mov word [pollfds + rbx * pollfd_size + 4], POLLIN
client__pollout__no_line:
mov rax, -1024
client__pollout__return:
pop r13
pop r12
pop rbx
ret
client__pollout__no_line:
mov rax, -1024
jmp client__pollout__return
; rdi - fd
client__shutdown_close:
mov rax, SYS_SHUTDOWN