Mercurial > gftp.yaz
comparison lib/https.c @ 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 | 1ffdbc487a70 |
| children | 1808cebed602 |
comparison
equal
deleted
inserted
replaced
| 515:cb78cf311d23 | 516:fbb5a02beddb |
|---|---|
| 25 #ifdef USE_SSL | 25 #ifdef USE_SSL |
| 26 static int | 26 static int |
| 27 https_get_next_file (gftp_request * request, gftp_file * fle, int fd) | 27 https_get_next_file (gftp_request * request, gftp_file * fle, int fd) |
| 28 { | 28 { |
| 29 rfc2068_params * params; | 29 rfc2068_params * params; |
| 30 int ret, resetptr; | 30 int resetptr; |
| 31 size_t ret; | |
| 31 | 32 |
| 32 params = request->protocol_data; | 33 params = request->protocol_data; |
| 33 if (request->cached) | 34 if (request->cached) |
| 34 { | 35 { |
| 35 params->real_read_function = gftp_fd_read; | 36 params->real_read_function = gftp_fd_read; |
