aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-05 10:43:44 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-05 10:43:44 +0800
commit6a99ce9981123734b5e2cb024be69903534eec49 (patch)
treef44423e9801e1786f4450df9fb1374238e2aa9e7 /camel
parent559f8e82452dabe820792d915042c1f70358dbf8 (diff)
downloadgsoc2013-evolution-6a99ce9981123734b5e2cb024be69903534eec49.tar.gz
gsoc2013-evolution-6a99ce9981123734b5e2cb024be69903534eec49.tar.zst
gsoc2013-evolution-6a99ce9981123734b5e2cb024be69903534eec49.zip
Make sure there is a space between the name and the address tokens.
2001-03-04 Jeffrey Stedfast <fejj@ximian.com> * camel-internet-address.c (camel_internet_address_encode_address): Make sure there is a space between the name and the address tokens. svn path=/trunk/; revision=8551
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-internet-address.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 6aa5e8ba74..d82802cb77 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2001-03-04 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-internet-address.c
+ (camel_internet_address_encode_address): Make sure there is a
+ space between the name and the address tokens.
+
* camel-mime-utils.c (rfc2047_decode_word): encoded string
segments need to be at least 8 chars (7 doesn't leave room for an
ecoding value. To be more realistic, even 8 chars isn't enough as
diff --git a/camel/camel-internet-address.c b/camel/camel-internet-address.c
index e97e9029eb..33900bb8f0 100644
--- a/camel/camel-internet-address.c
+++ b/camel/camel-internet-address.c
@@ -434,7 +434,7 @@ camel_internet_address_encode_address(int *inlen, const char *real, const char *
g_string_append(out, name);
len += strlen(name);
}
- addr = addra = g_strdup_printf("<%s>", addr);
+ addr = addra = g_strdup_printf(" <%s>", addr);
}
/* NOTE: Strictly speaking, we could and should split the