dovecot-2.0: smtp client: Failure wasn't sent properly for more ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 8 18:52:54 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/2c703e55d247
changeset: 9999:2c703e55d247
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 08 11:52:47 2009 -0400
description:
smtp client: Failure wasn't sent properly for more than one recipient.

diffstat:

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

diffs (12 lines):

diff -r 687c30b1539a -r 2c703e55d247 src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c	Thu Oct 08 11:21:10 2009 -0400
+++ b/src/lib-lda/lmtp-client.c	Thu Oct 08 11:52:47 2009 -0400
@@ -155,7 +155,7 @@ lmtp_client_data_next(struct lmtp_client
 		rcpt = array_get_modifiable(&client->recipients, &count);
 		for (i = 0; i < count; i++) {
 			rcpt[i].failed = line[0] != '2';
-			rcpt[i].data_callback(!rcpt->failed, line,
+			rcpt[i].data_callback(!rcpt[i].failed, line,
 					      rcpt[i].context);
 		}
 		client->rcpt_next_data_idx = count;


More information about the dovecot-cvs mailing list