Mercurial > dovecot > core-2.2
changeset 11293:13af90173e4f HEAD
imap: Renamed X-VSIZE to X-SIZE in STATUS, since IMAP always uses virtual sizes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 13 May 2010 09:27:06 +0200 |
parents | f7ef21ab49ba |
children | 0c9db163d538 |
files | src/imap/imap-status.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-status.c Thu May 13 09:25:41 2010 +0200 +++ b/src/imap/imap-status.c Thu May 13 09:27:06 2010 +0200 @@ -41,7 +41,7 @@ items |= STATUS_UNSEEN; else if (strcmp(item, "HIGHESTMODSEQ") == 0) items |= STATUS_HIGHESTMODSEQ; - else if (strcmp(item, "X-VSIZE") == 0) + else if (strcmp(item, "X-SIZE") == 0) items |= STATUS_VIRTUAL_SIZE; else if (strcmp(item, "X-GUID") == 0) items_r->guid = TRUE; @@ -128,7 +128,7 @@ (unsigned long long)status->highest_modseq); } if ((items->mailbox_items & STATUS_VIRTUAL_SIZE) != 0) { - str_printfa(str, "X-VSIZE %llu ", + str_printfa(str, "X-SIZE %llu ", (unsigned long long)status->virtual_size); } if (items->guid) {