aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-internet-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-internet-address.c')
-rw-r--r--camel/camel-internet-address.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-internet-address.c b/camel/camel-internet-address.c
index 98b78dfdf9..65b7e1dfaf 100644
--- a/camel/camel-internet-address.c
+++ b/camel/camel-internet-address.c
@@ -119,6 +119,8 @@ static char * internet_encode (CamelAddress *a)
if (name) {
if (*name)
g_string_sprintfa(out, "%s <%s>", name, addr->address);
+ else if (addr->address)
+ g_string_sprintfa (out, "%s", addr->address);
g_free(name);
} else
g_string_sprintfa(out, "%s", addr->address);