From owner-cvs-all Tue Jul 25 7:41:10 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8378937B67D; Tue, 25 Jul 2000 07:41:02 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA23033; Tue, 25 Jul 2000 07:41:03 -0700 (PDT) (envelope-from des@FreeBSD.org) Message-Id: <200007251441.HAA23033@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Tue, 25 Jul 2000 07:41:03 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libfetch ftp.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG des 2000/07/25 07:41:03 PDT Modified files: lib/libfetch ftp.c Log: If the server reports the size as 0, treat it as unknown. This works around a bug in some ftp servers (most notably ftp.vmunix.com) which report the size of a file correctly in ascii mode, but report it as 0 in binary mode. Reported by: asmodai Also remove an unneeded initialization. Revision Changes Path 1.39 +3 -4 src/lib/libfetch/ftp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message