From eb029aae1ee39750e59c49a4157c6071453cb995 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 3 Oct 2013 18:50:26 +0000 Subject: [PATCH] downloader: abort if DNS failed. (fixed) git-svn-id: svn://kolibrios.org@3971 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/downloader/downloader.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/network/downloader/downloader.asm b/programs/network/downloader/downloader.asm index 442dc54fc5..f08a543622 100644 --- a/programs/network/downloader/downloader.asm +++ b/programs/network/downloader/downloader.asm @@ -111,7 +111,7 @@ download: call parse_url cmp [server_ip], 0 - je error + je dns_error call open_socket call send_request @@ -129,6 +129,7 @@ download: mcall 68, 13, [final_buffer] ; free buffer +dns_error: cmp byte [params], 0 jne exit