downloader: abort if DNS failed. (fixed)

git-svn-id: svn://kolibrios.org@3971 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-10-03 18:50:26 +00:00
parent e7f1cf8360
commit eb029aae1e

View File

@ -111,7 +111,7 @@ download:
call parse_url call parse_url
cmp [server_ip], 0 cmp [server_ip], 0
je error je dns_error
call open_socket call open_socket
call send_request call send_request
@ -129,6 +129,7 @@ download:
mcall 68, 13, [final_buffer] ; free buffer mcall 68, 13, [final_buffer] ; free buffer
dns_error:
cmp byte [params], 0 cmp byte [params], 0
jne exit jne exit