summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-03-07 10:38:40 -0500
committerChris Lumens <clumens@redhat.com>2008-03-07 10:38:40 -0500
commit414387dab86497b272db88f03fb920b0e694567b (patch)
tree56cef9b4799b1c4279eea789d1f642c43b0c1916
parent66bfa8ed26b8f0f4d19a3dadbdee999a87ed4ebb (diff)
downloadanaconda-414387dab86497b272db88f03fb920b0e694567b.tar.gz
anaconda-414387dab86497b272db88f03fb920b0e694567b.tar.xz
anaconda-414387dab86497b272db88f03fb920b0e694567b.zip
Fix logging messages to not display the hostname twice.
-rw-r--r--loader2/urlinstall.c4
-rw-r--r--loader2/urls.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c
index 1d7ddd0b9..835ec2854 100644
--- a/loader2/urlinstall.c
+++ b/loader2/urlinstall.c
@@ -76,9 +76,9 @@ static int loadSingleUrlImage(struct iurlinfo * ui, char *path,
else if (fd < 0) {
if (!silentErrors) {
newtWinMessage(_("Error"), _("OK"),
- _("Unable to retrieve %s://%s/%s."),
+ _("Unable to retrieve %s://%s."),
(ui->protocol == URL_METHOD_FTP ? "ftp" : "http"),
- ui->address, path);
+ path);
}
if (ehdrs) free (ehdrs);
diff --git a/loader2/urls.c b/loader2/urls.c
index 718204b7b..551119dac 100644
--- a/loader2/urls.c
+++ b/loader2/urls.c
@@ -170,9 +170,9 @@ int urlinstStartTransfer(struct iurlinfo * ui, char *path,
char *hostname, *portstr;
struct hostent *host;
- logMessage(INFO, "transferring %s://%s%s to a fd",
+ logMessage(INFO, "transferring %s://%s to a fd",
ui->protocol == URL_METHOD_FTP ? "ftp" : "http",
- ui->address, path);
+ path);
splitHostname(ui->address, &hostname, &portstr);
if (portstr == NULL)