Cleanup ssh_read
modified libpkg/fetch.c
@@ -169,33 +169,35 @@ ssh_read(void *data, char *buf, int len)
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -203,7 +205,21 @@ ssh_read(void *data, char *buf, int len)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -287,6 +303,8 @@ ssh_write(void *data, const char *buf, int l)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -378,6 +396,7 @@ start_ssh(struct pkg_repo *repo, struct url *u, off_t *sz)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -395,12 +414,12 @@ start_ssh(struct pkg_repo *repo, struct url *u, off_t *sz)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -414,7 +433,6 @@ start_ssh(struct pkg_repo *repo, struct url *u, off_t *sz)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -583,9 +601,11 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/ssh.c
@@ -160,10 +160,14 @@ pkg_sshserve(int fd)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
|
|
|