mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 11:52:34 +03:00
bugfix: exit when user enters empty hostname.
git-svn-id: svn://kolibrios.org@4024 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
aa4751693f
commit
45f1ce4315
@ -73,9 +73,9 @@ main:
|
|||||||
call [con_gets]
|
call [con_gets]
|
||||||
; check for exit
|
; check for exit
|
||||||
test eax, eax
|
test eax, eax
|
||||||
jz done
|
jz exit
|
||||||
cmp byte [esi], 10
|
cmp byte [esi], 10
|
||||||
jz done
|
jz exit
|
||||||
; delete terminating '\n'
|
; delete terminating '\n'
|
||||||
push esi
|
push esi
|
||||||
@@:
|
@@:
|
||||||
|
Loading…
Reference in New Issue
Block a user