[dovecot-cvs] dovecot/src/auth auth-request.c,1.58.2.28,1.58.2.29

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


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

Modified Files:
      Tag: branch_1_0
	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.58.2.28
retrieving revision 1.58.2.29
diff -u -d -r1.58.2.28 -r1.58.2.29
--- auth-request.c	7 Mar 2007 00:14:41 -0000	1.58.2.28
+++ auth-request.c	9 Mar 2007 00:27:08 -0000	1.58.2.29
@@ -1047,6 +1047,7 @@
 		{ 'p', NULL },
 		{ 'w', NULL },
 		{ '!', NULL },
+		{ 'm', NULL },
 		{ '\0', NULL }
 	};
 	struct var_expand_table *tab;
@@ -1081,6 +1082,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