aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 2 insertions, 2 deletions
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));