dovecot-2.0: lmtp client: data_output_callback may have been cal...

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 16 22:57:12 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/c96b02a477a0
changeset: 10507:c96b02a477a0
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 16 15:57:07 2009 -0500
description:
lmtp client: data_output_callback may have been called unnecessarily.

diffstat:

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

diffs (12 lines):

diff -r 2f554f19adb5 -r c96b02a477a0 src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c	Wed Dec 16 14:24:36 2009 -0500
+++ b/src/lib-lda/lmtp-client.c	Wed Dec 16 15:57:07 2009 -0500
@@ -247,7 +247,7 @@ static void lmtp_client_send_data(struct
 	const unsigned char *data;
 	unsigned char add;
 	size_t i, size;
-	bool sent_bytes;
+	bool sent_bytes = FALSE;
 	int ret;
 
 	if (client->output_finished)


More information about the dovecot-cvs mailing list