forked from KolibriOS/kolibrios
Bugfix for Telnet and tcp socket close in net branch
git-svn-id: svn://kolibrios.org@2541 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
dd88d5bff6
commit
a4e79969dd
@ -153,7 +153,6 @@ mainloop:
|
||||
|
||||
cmp byte [esi], 0x1b ; escape character
|
||||
jne .print_byte
|
||||
mov byte [esi], 0
|
||||
inc esi
|
||||
|
||||
cmp word [esi], 0x485b ; move cursor to beginning
|
||||
@ -169,6 +168,7 @@ mainloop:
|
||||
jmp .print_loop
|
||||
|
||||
@@:
|
||||
inc esi
|
||||
inc esi
|
||||
jmp .print_loop
|
||||
|
||||
|
@ -670,7 +670,7 @@ SOCKET_close:
|
||||
cmp [eax + TCP_SOCKET.t_state], TCPS_SYN_RECEIVED ; state must be LISTEN, SYN_SENT or CLOSED
|
||||
jb .free
|
||||
|
||||
call TCP_output
|
||||
call TCP_drop
|
||||
mov dword [esp+32], 0
|
||||
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user