fixed bad commit(rev9976) of Jergen

git-svn-id: svn://kolibrios.org@9993 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom 2024-03-15 12:11:28 +00:00
parent 5f4e6c65ce
commit fe3924b288

View File

@ -759,12 +759,14 @@ socket_close:
cmp [eax + SOCKET.Protocol], IP_PROTO_TCP
jne .free
test [eax + SOCKET.state], SS_ISCONNECTED
jz .free
jz @f
test [eax + SOCKET.state], SS_ISDISCONNECTING
jnz .free
jnz @f
call tcp_disconnect
test eax, eax
jz .end
@@:
ret
; test eax, eax
; jz .end
.free:
call socket_free
.end: