Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-auth/auth-master.c @ 8458:ed4d6f6e4da7 HEAD
deliver: Allow userdb to change the username.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 21 Nov 2008 14:35:46 +0200 |
parents | 9524ec6e14fc |
children | b9faf4db2a9f |
line wrap: on
line diff
--- a/src/lib-auth/auth-master.c Thu Nov 20 19:32:58 2008 +0200 +++ b/src/lib-auth/auth-master.c Fri Nov 21 14:35:46 2008 +0200 @@ -97,7 +97,8 @@ reply->gid = (gid_t)-1; p_array_init(&reply->extra_fields, conn->pool, 64); - for (; *args != NULL; args++) { + reply->user = p_strdup(conn->pool, *args); + for (args++; *args != NULL; args++) { if (conn->debug) i_info("auth input: %s", *args);