dovecot: Fixes to envarr changes.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jan 2 02:08:34 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/e06ee42ad5f9
changeset: 7095:e06ee42ad5f9
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jan 02 02:08:31 2008 +0200
description:
Fixes to envarr changes.

diffstat:

2 files changed, 3 insertions(+), 3 deletions(-)
src/master/auth-process.c  |    4 ++--
src/master/child-process.c |    2 +-

diffs (26 lines):

diff -r 145f721b6412 -r e06ee42ad5f9 src/master/auth-process.c
--- a/src/master/auth-process.c	Wed Jan 02 02:00:39 2008 +0200
+++ b/src/master/auth-process.c	Wed Jan 02 02:08:31 2008 +0200
@@ -442,8 +442,8 @@ static void auth_set_environment(ARRAY_T
 	envarr_add(env, "USERNAME_TRANSLATION", set->username_translation);
 	envarr_add(env, "USERNAME_FORMAT", set->username_format);
 	envarr_add(env, "MASTER_USER_SEPARATOR", set->master_user_separator);
-	envarr_addi(env, "CACHE_SIZE=%u", set->cache_size);
-	envarr_addi(env, "CACHE_TTL=%u", set->cache_ttl);
+	envarr_addi(env, "CACHE_SIZE", set->cache_size);
+	envarr_addi(env, "CACHE_TTL", set->cache_ttl);
 	envarr_addi(env, "CACHE_NEGATIVE_TTL", set->cache_negative_ttl);
 
 	for (ap = set->passdbs, i = 1; ap != NULL; ap = ap->next, i++) {
diff -r 145f721b6412 -r e06ee42ad5f9 src/master/child-process.c
--- a/src/master/child-process.c	Wed Jan 02 02:00:39 2008 +0200
+++ b/src/master/child-process.c	Wed Jan 02 02:08:31 2008 +0200
@@ -50,7 +50,7 @@ void child_process_init_env(ARRAY_TYPE(c
 	/* we'll log through master process */
 	envarr_addb(env, "LOG_TO_MASTER");
 	if (env_tz != NULL)
-		envarr_add(env, "TZ=", env_tz);
+		envarr_add(env, "TZ", env_tz);
 
 	if (settings_root == NULL ||
 	    !syslog_facility_find(settings_root->defaults->syslog_facility,


More information about the dovecot-cvs mailing list