dovecot-2.0: master: Allow services' vsz_limit to be 0 (unlimited)

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 17 16:33:54 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/2456cd0917d3
changeset: 12433:2456cd0917d3
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 17 14:33:46 2010 +0000
description:
master: Allow services' vsz_limit to be 0 (unlimited)

diffstat:

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

diffs (12 lines):

diff -r 8793036f6de8 -r 2456cd0917d3 src/master/master-settings.c
--- a/src/master/master-settings.c	Tue Nov 16 19:58:03 2010 +0000
+++ b/src/master/master-settings.c	Wed Nov 17 14:33:46 2010 +0000
@@ -496,7 +496,7 @@
 				service->name);
 			return FALSE;
 		}
-		if (service->vsz_limit < 1024) {
+		if (service->vsz_limit < 1024 && service->vsz_limit != 0) {
 			*error_r = t_strdup_printf("service(%s): "
 				"vsz_limit is too low", service->name);
 			return FALSE;


More information about the dovecot-cvs mailing list