Fix read size for fread.
modified libpkg/fetch.c
@@ -399,6 +399,10 @@ start_ssh(struct pkg_repo *repo, struct url *u, off_t *sz)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -600,12 +604,13 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -613,6 +618,7 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| + | |
|
|
|
|
|