/programs/network/downloader/downloader.asm |
---|
822,9 → 822,8 |
push webAddr |
call [getaddrinfo] |
pop esi |
; TODO: handle error |
; test eax, eax |
; jnz .fail_dns |
test eax, eax |
jnz .fail_dns |
; fill in ip |
mov eax, [esi + addrinfo.ai_addr] |
839,6 → 838,12 |
ret |
.fail_dns: |
DEBUGF 1, "DNS resolution failed\n" |
mov [server_ip], 0 |
ret |
;*************************************************************************** |
; Function |
; append_proxy_auth_header |