dovecot-2.0: doveadm mailbox convert renamed to doveadm mailbox ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri May 28 19:03:45 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/4d3be20243c2
changeset: 11424:4d3be20243c2
user: Timo Sirainen <tss at iki.fi>
date: Fri May 28 17:03:41 2010 +0100
description:
doveadm mailbox convert renamed to doveadm mailbox mutf7.
diffstat:
src/doveadm/doveadm-mail-mailbox.c | 10 +++++-----
src/doveadm/doveadm.c | 2 +-
src/doveadm/doveadm.h | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r e502f52f160c -r 4d3be20243c2 src/doveadm/doveadm-mail-mailbox.c
--- a/src/doveadm/doveadm-mail-mailbox.c Fri May 28 16:52:24 2010 +0100
+++ b/src/doveadm/doveadm-mail-mailbox.c Fri May 28 17:03:41 2010 +0100
@@ -435,7 +435,7 @@
return cmd_mailbox_subscriptions_alloc(FALSE);
}
-static void cmd_mailbox_convert(int argc, char *argv[])
+static void cmd_mailbox_mutf7(int argc, char *argv[])
{
string_t *str;
bool from_utf8;
@@ -452,13 +452,13 @@
from_utf8 = TRUE;
break;
default:
- help(&doveadm_cmd_mailbox_convert);
+ help(&doveadm_cmd_mailbox_mutf7);
}
}
argv += optind;
if (argv[0] == NULL)
- help(&doveadm_cmd_mailbox_convert);
+ help(&doveadm_cmd_mailbox_mutf7);
str = t_str_new(128);
for (i = 0; argv[i] != NULL; i++) {
@@ -502,7 +502,7 @@
cmd_mailbox_unsubscribe_alloc, "mailbox unsubscribe",
"<mailbox> [...]"
};
-struct doveadm_cmd doveadm_cmd_mailbox_convert = {
- cmd_mailbox_convert, "mailbox convert",
+struct doveadm_cmd doveadm_cmd_mailbox_mutf7 = {
+ cmd_mailbox_mutf7, "mailbox mutf7",
"[-7|-8] <name> [...]", NULL
};
diff -r e502f52f160c -r 4d3be20243c2 src/doveadm/doveadm.c
--- a/src/doveadm/doveadm.c Fri May 28 16:52:24 2010 +0100
+++ b/src/doveadm/doveadm.c Fri May 28 17:03:41 2010 +0100
@@ -275,7 +275,7 @@
&doveadm_cmd_who,
&doveadm_cmd_penalty,
&doveadm_cmd_kick,
- &doveadm_cmd_mailbox_convert
+ &doveadm_cmd_mailbox_mutf7
};
int main(int argc, char *argv[])
diff -r e502f52f160c -r 4d3be20243c2 src/doveadm/doveadm.h
--- a/src/doveadm/doveadm.h Fri May 28 16:52:24 2010 +0100
+++ b/src/doveadm/doveadm.h Fri May 28 17:03:41 2010 +0100
@@ -23,7 +23,7 @@
extern struct doveadm_cmd doveadm_cmd_who;
extern struct doveadm_cmd doveadm_cmd_penalty;
extern struct doveadm_cmd doveadm_cmd_kick;
-extern struct doveadm_cmd doveadm_cmd_mailbox_convert;
+extern struct doveadm_cmd doveadm_cmd_mailbox_mutf7;
extern bool doveadm_verbose, doveadm_debug;
More information about the dovecot-cvs
mailing list