Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 07:41:03 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libfetch ftp.c
Message-ID:  <200007251441.HAA23033@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007251441.HAA23033>