mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Call ssl_iread with the correct arguments.
This commit is contained in:
parent
beb08d42ba
commit
fb67dd6201
@ -1,3 +1,7 @@
|
|||||||
|
2003-09-18 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* retr.c (get_contents): Pass the correct argument to ssl_iread.
|
||||||
|
|
||||||
2003-09-18 Hrvoje Niksic <hniksic@xemacs.org>
|
2003-09-18 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* safe-ctype.h: Don't #define ctype.h macros to errors because
|
* safe-ctype.h: Don't #define ctype.h macros to errors because
|
||||||
|
@ -191,7 +191,7 @@ get_contents (int fd, FILE *fp, long *len, long restval, long expected,
|
|||||||
? MIN (expected - *len, dlbufsize) : dlbufsize);
|
? MIN (expected - *len, dlbufsize) : dlbufsize);
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
if (rbuf->ssl!=NULL)
|
if (rbuf->ssl!=NULL)
|
||||||
res = ssl_iread (rbuf->ssl, dlbufsize, amount_to_read);
|
res = ssl_iread (rbuf->ssl, dlbuf, amount_to_read);
|
||||||
else
|
else
|
||||||
#endif /* HAVE_SSL */
|
#endif /* HAVE_SSL */
|
||||||
res = iread (fd, dlbuf, amount_to_read);
|
res = iread (fd, dlbuf, amount_to_read);
|
||||||
|
Loading…
Reference in New Issue
Block a user