Small bugfixes for downloader

git-svn-id: svn://kolibrios.org@3736 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-06-30 22:35:33 +00:00
parent 0f8bff0b72
commit 27d4f503b4

View File

@ -419,7 +419,7 @@ parse_result:
je .end_of_headers
inc edi
dec edx
jne .next_byte
ja .next_byte
DEBUGF 1, "Uh-oh, there's no end of header!\n"
; no end of headers. it's an error. let client see all those headers.
ret
@ -835,6 +835,10 @@ pu_010:
mov eax, [eax + sockaddr_in.sin_addr]
mov [server_ip], eax
; free allocated memory
push esi
call [freeaddrinfo]
DEBUGF 1, "Resolved to %u.%u.%u.%u\n", [server_ip]:1, [server_ip + 1]:1, [server_ip + 2]:1, [server_ip + 3]:1
ret