diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-19 01:28:36 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-19 01:28:36 +0800 |
commit | f3eb475d586bc226f4cd3d82547254273e106d7c (patch) | |
tree | 392b6dcb95c0b4288194d746e0275f8e8952c8da /camel/camel-internet-address.c | |
parent | 3c98da1fc7cbe17c28fed4a893efd5c6c8b763cf (diff) | |
download | gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.tar gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.tar.gz gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.tar.bz2 gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.tar.lz gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.tar.xz gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.tar.zst gsoc2013-evolution-f3eb475d586bc226f4cd3d82547254273e106d7c.zip |
Fix output for when the name is empty
svn path=/trunk/; revision=4873
Diffstat (limited to 'camel/camel-internet-address.c')
-rw-r--r-- | camel/camel-internet-address.c | 2 |
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); |