diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-02-05 22:13:51 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-02-05 22:13:51 +0000 |
commit | e19e6098b3beddfc5475b44809c28d8a4e800025 (patch) | |
tree | cad86b96b05ec19f9c9eb4e26ddb8060f540c83d /lib/libfetch/common.h | |
parent | 076172c5bcd28ac2fe1ec5909215f06deb990d78 (diff) |
Notes
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r-- | lib/libfetch/common.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index 84b2e01478e7b..7d93d9668e942 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -38,8 +38,9 @@ /* Structure used for error message lists */ struct fetcherr { - const int num, cat; - const char *string; + const int num; + const int cat; + const char *string; }; void _fetch_seterr(struct fetcherr *, int); @@ -51,7 +52,7 @@ int _fetch_connect(const char *, int, int, int); int _fetch_getln(int, char **, size_t *, size_t *); int _fetch_putln(int, const char *, size_t); int _fetch_add_entry(struct url_ent **, int *, int *, - const char *, struct url_stat *); + const char *, struct url_stat *); #define _ftp_seterr(n) _fetch_seterr(_ftp_errlist, n) #define _http_seterr(n) _fetch_seterr(_http_errlist, n) @@ -74,11 +75,9 @@ int _fetch_add_entry(struct url_ent **, int *, int *, * whole lot of trouble. */ FILE *_http_request(struct url *, const char *, - struct url_stat *, struct url *, - const char *); + struct url_stat *, struct url *, const char *); FILE *_ftp_request(struct url *, const char *, - struct url_stat *, struct url *, - const char *); + struct url_stat *, struct url *, const char *); /* * Check whether a particular flag is set |