]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: Renamed X-VSIZE to X-SIZE in STATUS, since IMAP always uses virtual sizes.
authorTimo Sirainen <tss@iki.fi>
Thu, 13 May 2010 07:27:06 +0000 (09:27 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 13 May 2010 07:27:06 +0000 (09:27 +0200)
--HG--
branch : HEAD

src/imap/imap-status.c

index 980c43a07adfc1ec5e1dc7d9bb5a633cd1907a99..2325b49e8eb95377ae82b218e28b334a75f1abcf 100644 (file)
@@ -41,7 +41,7 @@ int imap_status_parse_items(struct client_command_context *cmd,
                        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 @@ void imap_status_send(struct client *client, const char *mailbox,
                            (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) {