dovecot-2.0-pigeonhole: Notify extension: fixed duplicate variab...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Jan 23 14:43:36 EET 2011


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/b894b8268a55
changeset: 1460:b894b8268a55
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Tue Jan 18 21:46:08 2011 +0100
description:
Notify extension: fixed duplicate variable declaration.

diffstat:

 src/lib-sieve/plugins/notify/cmd-notify.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 5b57b1142864 -r b894b8268a55 src/lib-sieve/plugins/notify/cmd-notify.c
--- a/src/lib-sieve/plugins/notify/cmd-notify.c	Thu Jan 06 15:50:31 2011 +0100
+++ b/src/lib-sieve/plugins/notify/cmd-notify.c	Tue Jan 18 21:46:08 2011 +0100
@@ -420,7 +420,7 @@
 	sieve_number_t importance = 1;
 	struct sieve_stringlist *options = NULL;
 	string_t *message = NULL, *id = NULL; 
-	int ret;
+	int ret = 0;
 
 	/*
 	 * Read operands
@@ -476,7 +476,6 @@
 	if ( options != NULL ) {
 		string_t *raw_address;
 		string_t *out_message;
-		int ret;
 
 		pool = sieve_result_pool(renv->result);
 		act = p_new(pool, struct ext_notify_action, 1);


More information about the dovecot-cvs mailing list