diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-21 01:27:25 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-21 01:27:25 +0000 |
commit | 3b73be8498623e277b783f6fab17c8da7fd28727 (patch) | |
tree | b1abc783ada849a542ea50c3ee5ed4dd6932f26c /usr.bin | |
parent | 8a29a23657171cbd0efffa09633438c4a18afc91 (diff) | |
download | FreeBSD-src-3b73be8498623e277b783f6fab17c8da7fd28727.zip FreeBSD-src-3b73be8498623e277b783f6fab17c8da7fd28727.tar.gz |
Fix a small potential bogon I noticed here with restarts.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fetch/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c index 904a3b4..33bf709 100644 --- a/usr.bin/fetch/main.c +++ b/usr.bin/fetch/main.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. */ -/* $Id: main.c,v 1.14 1996/08/12 12:55:26 jkh Exp $ */ +/* $Id: main.c,v 1.15 1996/08/14 17:50:23 jkh Exp $ */ #include <stdlib.h> #include <stdio.h> @@ -269,7 +269,7 @@ ftpget () seekloc = size0 = 0; } } - else + else if (!restart) seekloc = size0 = 0; fp = ftpGet (ftp, file_to_get, &seekloc); |