From: Timo Sirainen Date: Fri, 25 Apr 2014 13:18:09 +0000 (+0300) Subject: lib-lda: Use the new smtp_client_init(), not _open() X-Git-Tag: 2.2.13.rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290ef515581317a0ff53643e2535fccefb5a3f1e;p=thirdparty%2Fdovecot%2Fcore.git lib-lda: Use the new smtp_client_init(), not _open() --- diff --git a/src/lib-lda/mail-send.c b/src/lib-lda/mail-send.c index f0b16cce0b..2d1ff3dcaf 100644 --- a/src/lib-lda/mail-send.c +++ b/src/lib-lda/mail-send.c @@ -86,7 +86,7 @@ int mail_send_rejection(struct mail_deliver_context *ctx, const char *recipient, str_sanitize(reason, 512)); } - smtp_client = smtp_client_open(ctx->set, return_addr, NULL, &output); + smtp_client = smtp_client_init(ctx->set, return_addr, NULL, &output); msgid = mail_deliver_get_new_message_id(ctx); boundary = t_strdup_printf("%s/%s", my_pid, ctx->set->hostname);