dovecot-2.2: lib-imap: imap_quote() was broken when called with ...

dovecot at dovecot.org dovecot at dovecot.org
Sun Aug 12 05:42:26 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/28283c7dc1e9
changeset: 14874:28283c7dc1e9
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 12 05:42:14 2012 +0300
description:
lib-imap: imap_quote() was broken when called with a datastack pool.

diffstat:

 src/lib-imap/imap-quote.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r baa8fb155ddc -r 28283c7dc1e9 src/lib-imap/imap-quote.c
--- a/src/lib-imap/imap-quote.c	Sun Aug 12 05:21:35 2012 +0300
+++ b/src/lib-imap/imap-quote.c	Sun Aug 12 05:42:14 2012 +0300
@@ -115,7 +115,7 @@
 	if (value == NULL)
 		return "NIL";
 
-	if (!pool->datastack_pool)
+	if (pool->datastack_pool)
 		ret = imap_quote_internal(pool, value, value_len, fix_text);
 	else T_BEGIN {
 		ret = imap_quote_internal(pool, value, value_len, fix_text);


More information about the dovecot-cvs mailing list