Work around uclibc getaddrinfo()

This commit is contained in:
prpr 2021-02-24 14:47:11 +00:00 committed by HummyPkg
parent 67afb37f27
commit f206766191
1 changed files with 3 additions and 3 deletions

View File

@ -225,7 +225,7 @@ proc {pkg loaddiagmeta} {} {
}
proc {pkg fetchfile} {url} {
set f [socket stream hpkg.tv:80]
set f [socket stream hpkg.tv:http]
$f puts -nonewline "GET /hdrfoxt2/$url HTTP/1.1\r\n"
$f puts -nonewline "Host: hpkg.tv\r\n"
$f puts -nonewline "Connection: close\r\n"