aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-01-31 10:30:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-01-31 10:30:36 +0800
commit42ffb93955bf660be4fdbea4fb95d2a2f51a091c (patch)
tree3e4035c8daa1863911b4eae389282df413e3d36d /camel
parent5cc216045d344e97ad86be0ecd94bc84ed3b0414 (diff)
downloadgsoc2013-evolution-42ffb93955bf660be4fdbea4fb95d2a2f51a091c.tar.gz
gsoc2013-evolution-42ffb93955bf660be4fdbea4fb95d2a2f51a091c.tar.zst
gsoc2013-evolution-42ffb93955bf660be4fdbea4fb95d2a2f51a091c.zip
Oops, this was converting foo@[blah] to foo@[ blah ], fixed.
2002-01-31 Not Zed <NotZed@Ximian.com> * camel-mime-utils.c (header_decode_domain): Oops, this was converting foo@[blah] to foo@[ blah ], fixed. svn path=/trunk/; revision=15535
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-utils.c4
2 files changed, 7 insertions, 2 deletions
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 <NotZed@Ximian.com>
+
+ * camel-mime-utils.c (header_decode_domain): Oops, this was
+ converting foo@[blah] to foo@[ blah ], fixed.
+
2002-01-30 Jeffrey Stedfast <fejj@ximian.com>
* 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));