fix: client__pollout always returning error, not handling error
This commit is contained in:
parent
76b53ad30c
commit
c90622c564
2 changed files with 6 additions and 3 deletions
7
client.s
7
client.s
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue