aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c2
1 files changed, 1 insertions, 1 deletions
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);