forked from KolibriOS/kolibrios
downloader: abort if DNS failed. (fixed)
git-svn-id: svn://kolibrios.org@3971 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e7f1cf8360
commit
eb029aae1e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user