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:
hidnplayr 2012-04-02 16:18:12 +00:00
parent dd88d5bff6
commit a4e79969dd
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,6 @@ mainloop:
cmp byte [esi], 0x1b ; escape character cmp byte [esi], 0x1b ; escape character
jne .print_byte jne .print_byte
mov byte [esi], 0
inc esi inc esi
cmp word [esi], 0x485b ; move cursor to beginning cmp word [esi], 0x485b ; move cursor to beginning
@ -169,6 +168,7 @@ mainloop:
jmp .print_loop jmp .print_loop
@@: @@:
inc esi
inc esi inc esi
jmp .print_loop jmp .print_loop

View File

@ -670,7 +670,7 @@ SOCKET_close:
cmp [eax + TCP_SOCKET.t_state], TCPS_SYN_RECEIVED ; state must be LISTEN, SYN_SENT or CLOSED cmp [eax + TCP_SOCKET.t_state], TCPS_SYN_RECEIVED ; state must be LISTEN, SYN_SENT or CLOSED
jb .free jb .free
call TCP_output call TCP_drop
mov dword [esp+32], 0 mov dword [esp+32], 0
ret ret