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
This commit is contained in:
Jeffrey Stedfast
2001-03-05 02:43:44 +00:00
committed by Jeffrey Stedfast
parent 559f8e8245
commit 6a99ce9981
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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