aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/camel-mime-utils.c2
-rw-r--r--camel/providers/imap4/camel-imap4-summary.c14
2 files changed, 8 insertions, 8 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 314359c654..8ce61e0b4e 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -1151,7 +1151,7 @@ header_decode_text (const char *in, size_t inlen, int ctext, const char *default
append = append_quoted_pair;
} else {
mask = (CAMEL_MIME_IS_LWSP);
- append = g_string_append;
+ append = g_string_append_len;
}
out = g_string_new ("");
diff --git a/camel/providers/imap4/camel-imap4-summary.c b/camel/providers/imap4/camel-imap4-summary.c
index ed4a9cbde9..fec70c2b12 100644
--- a/camel/providers/imap4/camel-imap4-summary.c
+++ b/camel/providers/imap4/camel-imap4-summary.c
@@ -630,13 +630,13 @@ courier_imap_is_a_piece_of_shit (CamelFolderSummary *summary, guint32 msg)
CamelSession *session = ((CamelService *) ((CamelFolder *) imap->folder)->parent_store)->session;
char *warning;
- warning = g_strdup_printf ("IMAP server did not respond with an untagged FETCH response for\n"
- "message #%u. This is illegal according to rfc3501 (and the older\n"
- "rfc2060). You will need to contact your Administrator(s) (or ISP)\n"
- "and have them resolve this issue.\n\n"
- "Hint: If your IMAP server is Courier-IMAP, it is likely that this\n"
- "message is simply unreadable by the IMAP server and will need to\n"
- "be given read permissions.\n", msg);
+ warning = g_strdup_printf ("IMAP server did not respond with an untagged FETCH response "
+ "for message #%u. This is illegal according to rfc3501 (and "
+ "the older rfc2060). You will need to contact your\n"
+ "Administrator(s) (or ISP) and have them resolve this issue.\n\n"
+ "Hint: If your IMAP server is Courier-IMAP, it is likely that this "
+ "message is simply unreadable by the IMAP server and will need "
+ "to be given read permissions.", msg);
camel_session_alert_user (session, CAMEL_SESSION_ALERT_WARNING, warning, FALSE);
g_free (warning);