summaryrefslogtreecommitdiffstats
path: root/loader/method.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-08-26 16:42:28 -0400
committerChris Lumens <clumens@redhat.com>2009-09-30 11:59:16 -0400
commit518d6ecbf8f07f0686bb04ee71e9f5363529d931 (patch)
treefff01101cccbf0d2c0e22302076e9973f3726b52 /loader/method.c
parent894b07c8a90003907447c24253828d2c1ea650d4 (diff)
downloadanaconda-518d6ecbf8f07f0686bb04ee71e9f5363529d931.tar.gz
anaconda-518d6ecbf8f07f0686bb04ee71e9f5363529d931.tar.xz
anaconda-518d6ecbf8f07f0686bb04ee71e9f5363529d931.zip
libcurl supports https in addition to http, so change our tests.
Diffstat (limited to 'loader/method.c')
-rw-r--r--loader/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/method.c b/loader/method.c
index d1ce27699..542601bd3 100644
--- a/loader/method.c
+++ b/loader/method.c
@@ -512,7 +512,7 @@ void setStage2LocFromCmdline(char * arg, struct loaderData_s * ld) {
else
((struct nfsInstallData *)ld->stage2Data)->directory = NULL;
} else if (!strncmp(arg, "ftp:", 4) ||
- !strncmp(arg, "http:", 5)) {
+ !strncmp(arg, "http", 4)) {
ld->method = METHOD_URL;
ld->stage2Data = calloc(sizeof(struct urlInstallData *), 1);
((struct urlInstallData *)ld->stage2Data)->url = strdup(arg);