dovecot-2.1-pigeonhole: Fixed segfault bug. Forgot to change Sie...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Fri Apr 27 03:28:19 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/f146790b5db3
changeset: 1617:f146790b5db3
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Fri Apr 27 02:28:13 2012 +0200
description:
Fixed segfault bug. Forgot to change Sieve SMTP API to use scriptenv in stead of script_context directly.

diffstat:

 src/lib-sieve/sieve-smtp.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 93bfa75d9ab9 -r f146790b5db3 src/lib-sieve/sieve-smtp.c
--- a/src/lib-sieve/sieve-smtp.c	Tue Apr 24 19:33:19 2012 +0200
+++ b/src/lib-sieve/sieve-smtp.c	Fri Apr 27 02:28:13 2012 +0200
@@ -19,8 +19,7 @@
     if ( senv->smtp_open == NULL || senv->smtp_close == NULL )
         return NULL;
 
-    return senv->smtp_open
-        (senv->script_context, destination, return_path, file_r);
+    return senv->smtp_open(senv, destination, return_path, file_r);
 }
 
 bool sieve_smtp_close
@@ -29,6 +28,6 @@
     if ( senv->smtp_open == NULL || senv->smtp_close == NULL )
         return NULL;
 
-    return senv->smtp_close(senv->script_context, handle);
+    return senv->smtp_close(senv, handle);
 }
 


More information about the dovecot-cvs mailing list