Try to make libfecth more portable
modified external/Makefile.am
@@ -243,7 +243,7 @@ libsqlite_static_la_SOURCES= $(libsqlite_la_SOURCES)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/libfetch/common.c
@@ -28,6 +28,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -224,7 +226,9 @@ fetch_reopen(int sd)
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
|
modified external/libfetch/fetch.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/libfetch/file.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified external/libfetch/ftp.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -133,7 +134,9 @@ unmappedaddr(struct sockaddr_in6 *sin6)
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
|
@@ -486,7 +489,7 @@ struct ftpio {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -549,18 +552,18 @@ ftp_writefn(void *v, const char *buf, int len)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -770,7 +773,8 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -784,12 +788,14 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -799,15 +805,18 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -830,7 +839,7 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified external/libfetch/http.c
@@ -27,6 +27,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -60,7 +61,7 @@ __FBSDID("$FreeBSD: head/lib/libfetch/http.c 267133 2014-06-05 22:16:26Z bapt $"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1421,9 +1422,10 @@ http_connect(struct url *URL, struct url *purl, const char *flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -1725,9 +1727,11 @@ http_request_body(struct url *URL, const char *op, struct url_stat *us,
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|