dovecot-2.0: lmtp client: Don't crash if lmtp_client_send_more()...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 23 20:16:44 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/c9f5b2734710
changeset: 10388:c9f5b2734710
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 23 13:16:38 2009 -0500
description:
lmtp client: Don't crash if lmtp_client_send_more() is called after failure.

diffstat:

1 file changed, 1 insertion(+)
src/lib-lda/lmtp-client.c |    1 +

diffs (11 lines):

diff -r f34528b52196 -r c9f5b2734710 src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c	Mon Nov 23 12:51:07 2009 -0500
+++ b/src/lib-lda/lmtp-client.c	Mon Nov 23 13:16:38 2009 -0500
@@ -97,6 +97,7 @@ static void lmtp_client_close(struct lmt
 	}
 	if (client->data_input != NULL)
 		i_stream_unref(&client->data_input);
+	client->output_finished = TRUE;
 }
 
 static void lmtp_client_ref(struct lmtp_client *client)


More information about the dovecot-cvs mailing list