dovecot-2.1: imapc: Post-login capabilities weren't detected/used.
dovecot at dovecot.org
dovecot at dovecot.org
Sun Oct 9 20:38:33 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/8a2ec8284b61
changeset: 13629:8a2ec8284b61
user: Timo Sirainen <tss at iki.fi>
date: Sun Oct 09 20:46:28 2011 +0300
description:
imapc: Post-login capabilities weren't detected/used.
diffstat:
src/lib-imap-client/imapc-connection.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r c9594ff166a9 -r 8a2ec8284b61 src/lib-imap-client/imapc-connection.c
--- a/src/lib-imap-client/imapc-connection.c Sun Oct 09 20:38:11 2011 +0300
+++ b/src/lib-imap-client/imapc-connection.c Sun Oct 09 20:46:28 2011 +0300
@@ -618,7 +618,7 @@
*key_r = text;
*value_r = NULL;
}
- return 0;
+ return imapc_connection_handle_resp_text_code(conn, *key_r, *value_r);
}
static int
@@ -640,10 +640,7 @@
}
return 0;
}
- if (imapc_connection_handle_resp_text(conn, text, key_r, value_r) < 0)
- return -1;
-
- return imapc_connection_handle_resp_text_code(conn, *key_r, *value_r);
+ return imapc_connection_handle_resp_text(conn, text, key_r, value_r);
}
static bool need_literal(const char *str)
More information about the dovecot-cvs
mailing list