From e7f1cf83606fb63a71c4bad6019e08767b003100 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 3 Oct 2013 18:48:13 +0000 Subject: [PATCH] downloader: abort if DNS failed. git-svn-id: svn://kolibrios.org@3970 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/downloader/downloader.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/network/downloader/downloader.asm b/programs/network/downloader/downloader.asm index 0e5c556352..442dc54fc5 100644 --- a/programs/network/downloader/downloader.asm +++ b/programs/network/downloader/downloader.asm @@ -109,6 +109,10 @@ download: DEBUGF 1, "Starting download\n" call parse_url + + cmp [server_ip], 0 + je error + call open_socket call send_request