Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5251:c1d7e9493f08 HEAD
Added %m = mechanism name
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Mar 2007 02:27:11 +0200 |
parents | 24c2eb87f4d0 |
children | d9def64349d7 |
files | src/auth/auth-request.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-request.c Fri Mar 09 00:08:34 2007 +0200 +++ b/src/auth/auth-request.c Fri Mar 09 02:27:11 2007 +0200 @@ -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; }