dovecot-2.0: config: Fixed handling obsolete [ipv6addr]:port lis...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 1 20:37:42 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/9952cbe2f839
changeset: 11449:9952cbe2f839
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 01 18:37:37 2010 +0100
description:
config: Fixed handling obsolete [ipv6addr]:port listen setting.

diffstat:

 src/config/old-set-parser.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bdb46ba87203 -r 9952cbe2f839 src/config/old-set-parser.c
--- a/src/config/old-set-parser.c	Tue Jun 01 18:35:48 2010 +0100
+++ b/src/config/old-set-parser.c	Tue Jun 01 18:37:37 2010 +0100
@@ -245,7 +245,7 @@
 			/* default */
 			return TRUE;
 		}
-		p = strchr(value, ':');
+		p = strrchr(value, ':');
 		if (p != NULL) {
 			obsolete(ctx, "%s=..:port has been replaced by service { inet_listener { port } }", key);
 			value = t_strdup_until(value, p++);


More information about the dovecot-cvs mailing list