[dovecot-cvs] dovecot/src/auth auth-request.c,1.89,1.90

tss at dovecot.org tss at dovecot.org
Fri Mar 9 02:27:14 EET 2007


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

Modified Files:
	auth-request.c 
Log Message:
Added %m = mechanism name



Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- auth-request.c	7 Mar 2007 00:14:44 -0000	1.89
+++ auth-request.c	9 Mar 2007 00:27:11 -0000	1.90
@@ -1075,6 +1075,7 @@
 		{ 'p', NULL },
 		{ 'w', NULL },
 		{ '!', NULL },
+		{ 'm', NULL },
 		{ '\0', NULL }
 	};
 	struct var_expand_table *tab;
@@ -1109,6 +1110,8 @@
 		tab[9].value = auth_request->passdb == NULL ? "" :
 			dec2str(auth_request->passdb->id);
 	}
+	tab[10].value = auth_request->mech == NULL ? "" :
+		auth_request->mech->mech_name;
 	return tab;
 }
 



More information about the dovecot-cvs mailing list