Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/imap/cmd-append.c @ 296:d66aa1f1fb2d HEAD
Added fast-flag for mailbox opening, which doesn't do any index compressing
or cache updating. This flag is set when mailbox is opened by APPEND, COPY
or STATUS (ie. not SELECT/EXAMINE).
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 23 Sep 2002 13:42:20 +0300 |
parents | 06d6eca0a45f |
children | 20769b7516a2 |
comparison
equal
deleted
inserted
replaced
295:c6c0e376008f | 296:d66aa1f1fb2d |
---|---|
111 /* open the mailbox */ | 111 /* open the mailbox */ |
112 if (!client_verify_mailbox_name(client, mailbox, TRUE)) | 112 if (!client_verify_mailbox_name(client, mailbox, TRUE)) |
113 return TRUE; | 113 return TRUE; |
114 | 114 |
115 box = client->storage->open_mailbox(client->storage, | 115 box = client->storage->open_mailbox(client->storage, |
116 mailbox, FALSE); | 116 mailbox, FALSE, TRUE); |
117 if (box == NULL) { | 117 if (box == NULL) { |
118 client_send_storage_error(client); | 118 client_send_storage_error(client); |
119 return TRUE; | 119 return TRUE; |
120 } | 120 } |
121 } | 121 } |