From 42ffb93955bf660be4fdbea4fb95d2a2f51a091c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 31 Jan 2002 02:30:36 +0000 Subject: Oops, this was converting foo@[blah] to foo@[ blah ], fixed. 2002-01-31 Not Zed * camel-mime-utils.c (header_decode_domain): Oops, this was converting foo@[blah] to foo@[ blah ], fixed. svn path=/trunk/; revision=15535 --- camel/ChangeLog | 5 +++++ camel/camel-mime-utils.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 6a0c566135..dd91b0007d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2002-01-31 Not Zed + + * camel-mime-utils.c (header_decode_domain): Oops, this was + converting foo@[blah] to foo@[ blah ], fixed. + 2002-01-30 Jeffrey Stedfast * providers/pop3/camel-pop3-provider.c: Use "pop" instead of diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 46ad1595b0..9f0c5fa662 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -2238,7 +2238,7 @@ header_decode_domain(const char **in) header_decode_lwsp(&inptr); while (go) { if (*inptr == '[') { /* domain literal */ - domain = g_string_append(domain, "[ "); + domain = g_string_append_c(domain, '['); inptr++; header_decode_lwsp(&inptr); start = inptr; @@ -2247,7 +2247,7 @@ header_decode_domain(const char **in) inptr++; } if (*inptr == ']') { - domain = g_string_append(domain, " ]"); + domain = g_string_append_c(domain, ']'); inptr++; } else { w(g_warning("closing ']' not found in domain: %s", *in)); -- cgit v1.2.3