From 47f917afc7d913fcfac8c37dbd3d765aa4fc6ffa Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Tue, 13 Oct 2009 20:10:57 +0200
Subject: [PATCH] Adjusted to changes in smtp_client API in Dovecot.

---
 src/plugins/lda-sieve/lda-sieve-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lda-sieve/lda-sieve-plugin.c b/src/plugins/lda-sieve/lda-sieve-plugin.c
index 0873b2c53..d202fbbd8 100644
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c
@@ -43,7 +43,7 @@ static void *lda_sieve_smtp_open
 	const char *return_path, FILE **file_r)
 {
 	return (void *) smtp_client_open
-		((struct mail_deliver_context *) script_ctx, destination, 
+		(((struct mail_deliver_context *) script_ctx)->set, destination, 
 			return_path, file_r);
 }
 
-- 
GitLab