diff options
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/mail-send-recv.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6e5d425295..6b7a143e2b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2005-12-05 Shi Pu <shi.pu@sun.com> + + See bug ** 323253 + + * mail-send-recv.c: (format_url): + If url->host is NULL or it is emtpy, + don't print it out in send & receive dialog. + 2005-11-28 Jeffrey Stedfast <fejj@novell.com> * em-folder-view.c (emfv_setting_notify): literal strings do not diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index efd0a2f884..99e5492587 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -261,7 +261,7 @@ format_url(const char *internal_url) char *pretty_url; url = camel_url_new(internal_url, NULL); - if (url->host) + if (url->host && *url->host) pretty_url = g_strdup_printf(_("Server: %s, Type: %s"), url->host, url->protocol); else if (url->path) pretty_url = g_strdup_printf(_("Path: %s, Type: %s"), url->path, url->protocol); |