1
0
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:
hniksic 2003-09-18 04:43:00 -07:00
parent beb08d42ba
commit fb67dd6201
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* safe-ctype.h: Don't #define ctype.h macros to errors because

View File

@ -191,7 +191,7 @@ get_contents (int fd, FILE *fp, long *len, long restval, long expected,
? MIN (expected - *len, dlbufsize) : dlbufsize);
#ifdef HAVE_SSL
if (rbuf->ssl!=NULL)
res = ssl_iread (rbuf->ssl, dlbufsize, amount_to_read);
res = ssl_iread (rbuf->ssl, dlbuf, amount_to_read);
else
#endif /* HAVE_SSL */
res = iread (fd, dlbuf, amount_to_read);