[evolution-data-server] CamelIMAPXCommand: Add '%m' format character for mailbox names.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelIMAPXCommand: Add '%m' format character for mailbox names.
- Date: Sun, 27 Oct 2013 14:54:13 +0000 (UTC)
commit b7f6576ccb65ba01edb027339c12688a17c3bc08
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Sep 12 08:02:30 2013 -0400
CamelIMAPXCommand: Add '%m' format character for mailbox names.
New format character '%m' for UTF-8 mailbox names. Intended only
for CREATE and RENAME commands which take a user-provided mailbox
name. Always prefer '%M' if a CamelIMAPXMailbox is available.
camel/camel-imapx-command.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-imapx-command.c b/camel/camel-imapx-command.c
index 1f65e7c..6bbccf4 100644
--- a/camel/camel-imapx-command.c
+++ b/camel/camel-imapx-command.c
@@ -371,6 +371,11 @@ camel_imapx_command_addv (CamelIMAPXCommand *ic,
utf7_name = camel_utf8_utf7 (name);
s = utf7_name;
goto output_string;
+ case 'm': /* UTF-8 mailbox name */
+ name = va_arg (ap, gchar *);
+ utf7_name = camel_utf8_utf7 (name);
+ s = utf7_name;
+ goto output_string;
case 'F': /* IMAP flags set */
f = va_arg (ap, guint32);
F = va_arg (ap, CamelFlag *);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]