Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7465:6c6af734f284 HEAD
Static attributes were broken in user_attrs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 25 Apr 2008 03:23:49 +0300 |
parents | 4dc5542f58aa |
children | f5af6ce6376f |
files | src/auth/db-ldap.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/db-ldap.c Fri Apr 25 02:10:36 2008 +0300 +++ b/src/auth/db-ldap.c Fri Apr 25 03:23:49 2008 +0300 @@ -1103,6 +1103,9 @@ ctx->name = t_strdup_until(*ctx->static_attrs, p); ctx->value = p + 1; } + /* make _next_all() return correct values */ + ctx->template = ""; + ctx->val_1_arr[0] = ctx->value; ctx->static_attrs++; return TRUE; }