Mercurial > gftp.yaz
diff lib/httpcommon.h @ 516:fbb5a02beddb
2004-7-26 Brian Masney <masneyb@gftp.org>
* lib/config_file.c lib/local.c lib/ftps.c lib/gftp.h lib/httpcommon.h
lib/https.c lib/misc.c lib/protocols.c lib/pty.c lib/rfc2068.c
lib/rfc959.c lib/sshv2.c - various fixes found through a static code
analysis checker. (some signed/unsigned fixes, removed unneeded casts,
removed unneeded variables, more consistency, largefile fixes). Thanks
to Derek M Jones for running the static code analysis for me
* lib/cache.c - s/remove/del_entry/g
* lib/bookmark.c lib/protocols.c (gftp_parse_bookmark) - allow
the third parameter of this function to be a NULL pointer
| author | masneyb |
|---|---|
| date | Tue, 27 Jul 2004 02:46:54 +0000 |
| parents | 3b9d5797050f |
| children |
line wrap: on
line diff
--- a/lib/httpcommon.h Mon Jul 26 09:51:07 2004 +0000 +++ b/lib/httpcommon.h Tue Jul 27 02:46:54 2004 +0000 @@ -22,9 +22,9 @@ typedef struct rfc2068_params_tag { gftp_getline_buffer * rbuf; - unsigned long read_bytes, - content_length; - long chunk_size; + unsigned long read_bytes; + off_t chunk_size, + content_length; unsigned int chunked_transfer : 1, eof : 1; ssize_t (*real_read_function) ( gftp_request * request,
