dovecot-2.0: config: Fixed converting old auth/mail_process_size...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Feb 22 15:44:45 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/2480413a80fb
changeset: 12620:2480413a80fb
user: Timo Sirainen <tss at iki.fi>
date: Tue Feb 22 15:44:42 2011 +0200
description:
config: Fixed converting old auth/mail_process_size settings.
diffstat:
src/config/old-set-parser.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r e7fa2906f875 -r 2480413a80fb src/config/old-set-parser.c
--- a/src/config/old-set-parser.c Tue Feb 22 15:02:23 2011 +0200
+++ b/src/config/old-set-parser.c Tue Feb 22 15:44:42 2011 +0200
@@ -357,7 +357,8 @@
return TRUE;
}
if (strcmp(key, "login_process_size") == 0) {
- config_apply_login_set(ctx, old_section, key, "vsz_limit", value);
+ config_apply_login_set(ctx, old_section, key, "vsz_limit",
+ t_strconcat(value, " M", NULL));
return TRUE;
}
if (strcmp(key, "login_process_per_connection") == 0) {
@@ -378,7 +379,8 @@
return TRUE;
}
if (strcmp(key, "login_process_size") == 0) {
- config_apply_login_set(ctx, old_section, key, "vsz_limit", value);
+ config_apply_login_set(ctx, old_section, key, "vsz_limit",
+ t_strconcat(value, " M", NULL));
return TRUE;
}
@@ -391,7 +393,8 @@
return TRUE;
}
if (strcmp(key, "mail_process_size") == 0) {
- config_apply_mail_set(ctx, old_section, key, "vsz_limit", value);
+ config_apply_mail_set(ctx, old_section, key, "vsz_limit",
+ t_strconcat(value, " M", NULL));
return TRUE;
}
if (strcmp(key, "mail_drop_priv_before_exec") == 0) {
@@ -409,7 +412,8 @@
return TRUE;
}
if (strcmp(key, "auth_process_size") == 0) {
- config_apply_auth_set(ctx, key, "vsz_limit", value);
+ config_apply_auth_set(ctx, key, "vsz_limit",
+ t_strconcat(value, " M", NULL));
return TRUE;
}
if (strcmp(key, "auth_user") == 0) {
More information about the dovecot-cvs
mailing list