[dovecot-cvs] dovecot/src/master auth-process.c,1.70,1.71

cras at dovecot.org cras at dovecot.org
Mon Dec 20 18:01:03 EET 2004


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv31647/master

Modified Files:
	auth-process.c 
Log Message:
Fixes for using socket listen { .. } in auth sections.



Index: auth-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- auth-process.c	15 Dec 2004 17:44:22 -0000	1.70
+++ auth-process.c	20 Dec 2004 16:01:01 -0000	1.71
@@ -328,12 +328,12 @@
 static void
 socket_settings_env_put(const char *env_base, struct socket_settings *set)
 {
-	if (env_base == NULL)
+	if (set->path == NULL)
 		return;
 
-	env_put(t_strdup_printf("%s_PATH=%s", env_base, set->path));
+	env_put(t_strdup_printf("%s=%s", env_base, set->path));
 	if (set->mode != 0)
-		env_put(t_strdup_printf("%s_MODE=%u", env_base, set->mode));
+		env_put(t_strdup_printf("%s_MODE=%o", env_base, set->mode));
 	if (set->user != NULL)
 		env_put(t_strdup_printf("%s_USER=%s", env_base, set->user));
 	if (set->group != NULL)



More information about the dovecot-cvs mailing list