diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-07 10:38:40 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-07 10:38:40 -0500 |
commit | 414387dab86497b272db88f03fb920b0e694567b (patch) | |
tree | 56cef9b4799b1c4279eea789d1f642c43b0c1916 | |
parent | 66bfa8ed26b8f0f4d19a3dadbdee999a87ed4ebb (diff) | |
download | anaconda-414387dab86497b272db88f03fb920b0e694567b.tar.gz anaconda-414387dab86497b272db88f03fb920b0e694567b.tar.xz anaconda-414387dab86497b272db88f03fb920b0e694567b.zip |
Fix logging messages to not display the hostname twice.
-rw-r--r-- | loader2/urlinstall.c | 4 | ||||
-rw-r--r-- | loader2/urls.c | 4 |
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) |