changeset 13019:7f88557102c3

config: Updated obsolete protocol warning messages.
author Timo Sirainen <tss@iki.fi>
date Wed, 11 May 2011 16:20:15 +0300
parents dab7043e8263
children b41ff254e1d6
files src/config/old-set-parser.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/config/old-set-parser.c	Wed May 11 15:57:47 2011 +0300
+++ b/src/config/old-set-parser.c	Wed May 11 16:20:15 2011 +0300
@@ -102,19 +102,19 @@
 		value = t_strarray_join((const char *const *)protos, " ");
 
 		if (have_imaps && !have_imap) {
-			obsolete(ctx, "protocols=imaps is no longer supported. to disable non-ssl imap, use service imap-login { inet_listener imap { port=0 } }");
+			obsolete(ctx, "'imaps' protocol is no longer supported. to disable non-ssl imap, use service imap-login { inet_listener imap { port=0 } }");
 			value = t_strconcat(value, " imap", NULL);
 			config_apply_line(ctx, "port",
 				"service/imap-login/inet_listener/imap/port=0", NULL);
 		} else if (have_imaps)
-			obsolete(ctx, "protocols=imaps is no longer necessary, remove it");
+			obsolete(ctx, "'imaps' protocol is no longer necessary, remove it");
 		if (have_pop3s && !have_pop3) {
-			obsolete(ctx, "protocols=pop3s is no longer supported. to disable non-ssl pop3, use service pop3-login { inet_listener pop3 { port=0 } }");
+			obsolete(ctx, "'pop3s' protocol is no longer supported. to disable non-ssl pop3, use service pop3-login { inet_listener pop3 { port=0 } }");
 			value = t_strconcat(value, " pop3", NULL);
 			config_apply_line(ctx, "port",
 				"service/pop3-login/inet_listener/pop3/port=0", NULL);
 		} else if (have_pop3s)
-			obsolete(ctx, "protocols=pop3s is no longer necessary, remove it");
+			obsolete(ctx, "'pop3s' protocol is no longer necessary, remove it");
 
 		if (*value == ' ') value++;
 		config_parser_apply_line(ctx, CONFIG_LINE_TYPE_KEYVALUE,