From 45f1ce43153da1d63b43ebe4c88c3429dcc5448a Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 14 Oct 2013 07:03:53 +0000 Subject: [PATCH] bugfix: exit when user enters empty hostname. git-svn-id: svn://kolibrios.org@4024 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/icmp/ping.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/network/icmp/ping.asm b/programs/network/icmp/ping.asm index d75bc98e57..ca79a46e22 100644 --- a/programs/network/icmp/ping.asm +++ b/programs/network/icmp/ping.asm @@ -73,9 +73,9 @@ main: call [con_gets] ; check for exit test eax, eax - jz done + jz exit cmp byte [esi], 10 - jz done + jz exit ; delete terminating '\n' push esi @@: