dovecot-2.0-pigeonhole: ManageSieve: fixed fd leak caused by DUM...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon Jul 5 17:45:19 EEST 2010


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/70fd71816991
changeset: 1318:70fd71816991
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Mon Jul 05 16:45:12 2010 +0200
description:
ManageSieve: fixed fd leak caused by DUMP_CAPABILITY execution.

diffstat:

 src/managesieve/main.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 09937738119e -r 70fd71816991 src/managesieve/main.c
--- a/src/managesieve/main.c	Mon Jul 05 14:32:17 2010 +0200
+++ b/src/managesieve/main.c	Mon Jul 05 16:45:12 2010 +0200
@@ -237,7 +237,7 @@
 		return 1;
 	}
 
-	if (IS_STANDALONE()) {
+	if (IS_STANDALONE() || getenv("DUMP_CAPABILITY") != NULL) {
 		service_flags |= MASTER_SERVICE_FLAG_STANDALONE |
 			MASTER_SERVICE_FLAG_STD_CLIENT;
 	} else {


More information about the dovecot-cvs mailing list