summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/media.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-02 08:25:11 +0000
committerjkh <jkh@FreeBSD.org>1996-10-02 08:25:11 +0000
commit4259119b91433f42ce5dbe3c5886074399ca946a (patch)
tree557611a86dc2b780f91e10d1a76e05fb975ceccd /release/sysinstall/media.c
parent1fa5cda8efba7d1009e3689bfe44b7cd3cb1f6d3 (diff)
downloadFreeBSD-src-4259119b91433f42ce5dbe3c5886074399ca946a.zip
FreeBSD-src-4259119b91433f42ce5dbe3c5886074399ca946a.tar.gz
Fixes and a place-holder for future work.
Diffstat (limited to 'release/sysinstall/media.c')
-rw-r--r--release/sysinstall/media.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/media.c b/release/sysinstall/media.c
index 33ac214..b59a415 100644
--- a/release/sysinstall/media.c
+++ b/release/sysinstall/media.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: media.c,v 1.56 1996/10/02 00:41:40 jkh Exp $
+ * $Id: media.c,v 1.57 1996/10/02 02:02:18 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -283,7 +283,7 @@ mediaSetFTP(dialogMenuItem *self)
"A URL looks like this: ftp://<hostname>/<path>\n"
"Where <path> is relative to the anonymous ftp directory or the\n"
"home directory of the user being logged in as.");
- if (!cp || !*cp)
+ if (!cp || !*cp || !strcmp(cp, "ftp://"))
return DITEM_FAILURE | what;
}
if (strncmp("ftp://", cp, 6)) {
OpenPOWER on IntegriCloud