Mercurial > dovecot > core-2.2
changeset 19562:388bd0863909
imapc: Fixed mailbox name escaping for STATUS
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 15 Jan 2016 15:04:21 +0200 |
parents | bac33082d68a |
children | 11872411f6a0 |
files | src/lib-storage/index/imapc/imapc-storage.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/imapc/imapc-storage.c Thu Jan 14 18:52:01 2016 +0200 +++ b/src/lib-storage/index/imapc/imapc-storage.c Fri Jan 15 15:04:21 2016 +0200 @@ -795,7 +795,8 @@ mbox->storage->cur_status = status_r; cmd = imapc_client_cmd(mbox->storage->client->client, imapc_simple_callback, &sctx); - imapc_command_sendf(cmd, "STATUS %s (%1s)", box->name, str_c(str)+1); + imapc_command_sendf(cmd, "STATUS %s (%1s)", + imapc_mailbox_get_remote_name(mbox), str_c(str)+1); imapc_simple_run(&sctx); mbox->storage->cur_status_box = NULL; mbox->storage->cur_status = NULL;