summaryrefslogtreecommitdiff
path: root/usr.bin/fetch/ftp.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-02-10 18:49:42 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-02-10 18:49:42 +0000
commitcb0cd746b574be099dfcd1dfb16fb2516747c4ed (patch)
tree9359a0f6b88b613cda767f724373444c8ec5fda2 /usr.bin/fetch/ftp.c
parent35c6fcd43b6f1446141294521d33b5a7e794b2db (diff)
Notes
Diffstat (limited to 'usr.bin/fetch/ftp.c')
-rw-r--r--usr.bin/fetch/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/ftp.c b/usr.bin/fetch/ftp.c
index 0960b8158419..1b8e0fe00dc8 100644
--- a/usr.bin/fetch/ftp.c
+++ b/usr.bin/fetch/ftp.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ftp.c,v 1.1 1997/01/30 21:43:40 wollman Exp $
+ * $Id: ftp.c,v 1.2 1997/02/05 19:59:12 wollman Exp $
*/
#include <sys/types.h>
@@ -327,7 +327,7 @@ ftp_retrieve(struct fetch_state *fs)
}
if (fs->fs_restart) {
if (stab.st_size != 0 && stab.st_size < size)
- seekloc = wehave = size;
+ seekloc = wehave = stab.st_size;
}
}