dovecot-1.1: LIST X-STATUS: Send LIST reply before STATUS reply.
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 25 00:34:06 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/9c781d042afe
changeset: 7534:9c781d042afe
user: Timo Sirainen <tss at iki.fi>
date: Sun May 25 00:34:03 2008 +0300
description:
LIST X-STATUS: Send LIST reply before STATUS reply.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/imap/cmd-list.c | 4 ++--
diffs (20 lines):
diff -r 7690cdabb3f8 -r 9c781d042afe src/imap/cmd-list.c
--- a/src/imap/cmd-list.c Sat May 24 16:57:28 2008 +0300
+++ b/src/imap/cmd-list.c Sun May 25 00:34:03 2008 +0300
@@ -347,14 +347,14 @@ list_namespace_mailboxes(struct cmd_list
imap_quote_append_string(str, name, FALSE);
mailbox_childinfo2str(ctx, str, flags);
+ ret = client_send_line(ctx->cmd->client, str_c(str));
if (ctx->status_items != 0 &&
(flags & (MAILBOX_NONEXISTENT | MAILBOX_NOSELECT)) == 0) {
T_BEGIN {
list_send_status(ctx, name);
} T_END;
}
-
- if (client_send_line(ctx->cmd->client, str_c(str)) == 0) {
+ if (ret == 0) {
/* buffer is full, continue later */
return 0;
}
More information about the dovecot-cvs
mailing list