summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-23 11:50:11 +0000
committerjkh <jkh@FreeBSD.org>1996-05-23 11:50:11 +0000
commitd595d9d02184757966611834a08c4e6e09302d27 (patch)
tree16a7747e41193d6ab343e9f9a07a103623622062
parent798093792585addf713b93924e8e66cfc4d57a81 (diff)
downloadFreeBSD-src-d595d9d02184757966611834a08c4e6e09302d27.zip
FreeBSD-src-d595d9d02184757966611834a08c4e6e09302d27.tar.gz
Remove some harmless 3am hacking artifacts.
-rw-r--r--release/sysinstall/ftp_strat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/release/sysinstall/ftp_strat.c b/release/sysinstall/ftp_strat.c
index b186396..befe58e 100644
--- a/release/sysinstall/ftp_strat.c
+++ b/release/sysinstall/ftp_strat.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: ftp_strat.c,v 1.15 1996/05/05 21:54:20 jkh Exp $
+ * $Id: ftp_strat.c,v 1.16 1996/05/16 11:47:28 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -134,10 +134,8 @@ mediaInitFTP(Device *dev)
return FALSE;
}
- rel = variable_get(VAR_RELNAME);
if (isDebug())
msgDebug("Attempting to open connection for URL: %s\n", cp);
- hostname = variable_get(VAR_HOSTNAME);
if (strncmp("ftp://", cp, 6) != NULL) {
msgConfirm("Invalid URL: %s\n(A URL must start with `ftp://' here)", cp);
return FALSE;
@@ -204,6 +202,7 @@ retry:
}
/* Give it a shot - can't hurt to try and zoom in if we can, unless the release is set to __RELEASE which signifies that it's not set */
+ rel = variable_get(VAR_RELNAME);
if (strcmp(rel, "__RELEASE"))
i = FtpChdir(ftp, rel);
else
OpenPOWER on IntegriCloud