[evolution-data-server/imap-notify: 13/40] 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/imap-notify: 13/40] CamelIMAPXCommand: Add '%m' format character for mailbox names.
- Date: Thu, 12 Sep 2013 17:02:37 +0000 (UTC)
commit 82c3aa688d4aa76d2b786753f498e034d9749cae
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]