[dovecot-cvs] dovecot/src/auth auth-request.c,1.38,1.39

cras at dovecot.org cras at dovecot.org
Thu Oct 27 18:57:33 EEST 2005


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv24663/src/auth

Modified Files:
	auth-request.c 
Log Message:
%w contains now password



Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- auth-request.c	27 Oct 2005 14:29:21 -0000	1.38
+++ auth-request.c	27 Oct 2005 15:57:31 -0000	1.39
@@ -594,6 +594,7 @@
 		{ 'l', NULL },
 		{ 'r', NULL },
 		{ 'p', NULL },
+		{ 'w', NULL },
 		{ '\0', NULL }
 	};
 	struct var_expand_table *tab;
@@ -616,6 +617,8 @@
 	if (auth_request->remote_ip.family != 0)
 		tab[6].value = net_ip2addr(&auth_request->remote_ip);
 	tab[7].value = dec2str(auth_request->client_pid);
+	if (auth_request->mech_password != NULL)
+		tab[8].value = escape_func(auth_request->mech_password);
 	return tab;
 }
 



More information about the dovecot-cvs mailing list