diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-02 20:58:15 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-02 20:58:15 +0000 |
commit | bb66bc7a9fdd19d3df07c68c783ff98d89ea1a04 (patch) | |
tree | e1df175cf0974ff778b14ea0336f537fdefbccef /loader/urls.c | |
parent | 985db75db893d897d72a793fff6fa83a8a52a93f (diff) | |
download | anaconda-bb66bc7a9fdd19d3df07c68c783ff98d89ea1a04.tar.gz anaconda-bb66bc7a9fdd19d3df07c68c783ff98d89ea1a04.tar.xz anaconda-bb66bc7a9fdd19d3df07c68c783ff98d89ea1a04.zip |
actually assign the fixed path to the prefix
Diffstat (limited to 'loader/urls.c')
-rw-r--r-- | loader/urls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/urls.c b/loader/urls.c index c59a2b918..2d0dd8822 100644 --- a/loader/urls.c +++ b/loader/urls.c @@ -271,9 +271,9 @@ int urlMainSetupPanel(struct iurlinfo * ui, urlprotocol protocol, buf[0] = '/'; buf[1] = '\0'; strcat (buf, dir); - } - - ui->prefix = strdup(dir); + ui->prefix = buf; + } else + ui->prefix = strdup(dir); /* Get rid of trailing /'s */ chptr = ui->prefix + strlen(ui->prefix) - 1; |