forked from KolibriOS/kolibrios
fixed bad commit(rev9976) of Jergen
git-svn-id: svn://kolibrios.org@9993 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
5f4e6c65ce
commit
fe3924b288
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user