summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-14 15:57:59 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-14 15:57:59 +0000
commitd914b67de1a95f7ed59f4d78584d9e46cfff04cc (patch)
tree2ae8099e9fa857c91ca5a41bc209f4b27e70d69d /mdk-stage1
parentedbe2b3518fb1c5d4530cb7f14a373de929ea487 (diff)
downloaddrakx-backup-do-not-use-d914b67de1a95f7ed59f4d78584d9e46cfff04cc.tar
drakx-backup-do-not-use-d914b67de1a95f7ed59f4d78584d9e46cfff04cc.tar.gz
drakx-backup-do-not-use-d914b67de1a95f7ed59f4d78584d9e46cfff04cc.tar.bz2
drakx-backup-do-not-use-d914b67de1a95f7ed59f4d78584d9e46cfff04cc.tar.xz
drakx-backup-do-not-use-d914b67de1a95f7ed59f4d78584d9e46cfff04cc.zip
http: don't add a / between the hostname and the url, apache
doesn't understand //~fermigier the same way as /~fermigier
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 3d3107ddf..ef9dd2814 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -823,7 +823,7 @@ enum return_type http_prepare(void)
return RETURN_ERROR;
method_name = strdup("http");
- sprintf(location_full, "http://%s/%s", answers[0], answers[1]);
+ sprintf(location_full, "http://%s%s", answers[0], answers[1]);
add_to_env("URLPREFIX", location_full);
}
while (results == RETURN_BACK);