summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-08-21 01:27:25 +0000
committerjkh <jkh@FreeBSD.org>1996-08-21 01:27:25 +0000
commit3b73be8498623e277b783f6fab17c8da7fd28727 (patch)
treeb1abc783ada849a542ea50c3ee5ed4dd6932f26c /usr.bin
parent8a29a23657171cbd0efffa09633438c4a18afc91 (diff)
downloadFreeBSD-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.c4
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);
OpenPOWER on IntegriCloud