No need to check the scheme to chose the right method, libfetch does it already
modified libpkg/fetch.c
@@ -182,10 +182,7 @@ pkg_fetch_file_to_fd(const char *url, int dest, time_t t)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|