dovecot: Added assert

dovecot at dovecot.org dovecot at dovecot.org
Sat Dec 22 03:05:34 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/c4f4fa03e14e
changeset: 7021:c4f4fa03e14e
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Dec 22 02:52:39 2007 +0200
description:
Added assert

diffstat:

1 file changed, 1 insertion(+)
src/imap/imap-fetch.c |    1 +

diffs (11 lines):

diff -r a567e6863aa7 -r c4f4fa03e14e src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c	Sat Dec 22 02:42:42 2007 +0200
+++ b/src/imap/imap-fetch.c	Sat Dec 22 02:52:39 2007 +0200
@@ -299,6 +299,7 @@ static int imap_fetch_more(struct imap_f
 					return -1;
 			}
 
+			i_assert(ctx->cur_input == NULL);
 			T_FRAME(
 				const struct imap_fetch_context_handler *h =
 					&handlers[ctx->cur_handler];


More information about the dovecot-cvs mailing list