aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1996-06-24 01:03:05 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1996-06-24 01:03:05 +0000
commitca3eb987211f396212ab1d33784661fa0413c334 (patch)
tree73ae83532aaafb2085f4cf4d6e90ee9acc3cea79
parentba21c862b1c37e24f384ec130c711bac9ee74435 (diff)
downloadsrc-ca3eb987211f396212ab1d33784661fa0413c334.tar.gz
src-ca3eb987211f396212ab1d33784661fa0413c334.zip
Notes
-rw-r--r--usr.bin/fetch/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c
index ba0d9a0ec0b2..dca950a11c54 100644
--- a/usr.bin/fetch/main.c
+++ b/usr.bin/fetch/main.c
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
-/* $Id: main.c,v 1.3 1996/06/22 21:42:14 jkh Exp $ */
+/* $Id: main.c,v 1.4 1996/06/22 23:24:13 jkh Exp $ */
#include <stdlib.h>
#include <stdio.h>
@@ -239,8 +239,6 @@ ftpget ()
ftperr (ftp, "Couldn't cd to %s: ", change_to_dir);
}
size = ftpGetSize (ftp, file_to_get);
- if (size < 0)
- ftperr (ftp, "%s: ", file_to_get);
modtime = ftpGetModtime (ftp, file_to_get);
if (modtime < -1) {
warnx ("Couldn't get file time for %s - using current time", file_to_get);