curl-library
Re: size not being reset?
From: Dave Halbakken <YetAnotherDev_at_netscape.net>
Date: Tue, 28 Jan 2003 13:15:50 -0800
Date: Tue, 28 Jan 2003 13:15:50 -0800
Thanks, Daniel. That fixes it!
Dave
> Can you please check if this patch corrects the problem for you?
>
> diff -u -r1.167 ftp.c
> --- lib/ftp.c 16 Jan 2003 21:08:13 -0000 1.167
> +++ lib/ftp.c 28 Jan 2003 19:21:08 -0000
> @@ -2060,6 +2060,7 @@
>
> /* the ftp struct is already inited in ftp_connect() */
> ftp = conn->proto.ftp;
> + conn->size = -1; /* make sure this is unknown at this point */
>
> /* We split the path into dir and file parts *before* we URLdecode
> it */
>
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-28