Mercurial > dovecot > core-2.2
changeset 2738:da392e6e473b HEAD
Auth protocol fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 13 Oct 2004 22:11:33 +0300 |
parents | 134ad6e8cd42 |
children | ebcb45283c70 |
files | src/auth/auth-client-connection.c src/auth/auth-master-connection.c |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-client-connection.c Wed Oct 13 20:20:43 2004 +0300 +++ b/src/auth/auth-client-connection.c Wed Oct 13 22:11:33 2004 +0300 @@ -68,7 +68,7 @@ break; case AUTH_CLIENT_RESULT_SUCCESS: str = t_str_new(128 + MAX_BASE64_ENCODED_SIZE(reply_size)); - str_printfa(str, "OK\t%u\t%s", request->id, request->user); + str_printfa(str, "OK\t%u\tuser=%s", request->id, request->user); if (reply_size > 0) { str_append(str, "\tresp="); base64_encode(reply, reply_size, str);
--- a/src/auth/auth-master-connection.c Wed Oct 13 20:20:43 2004 +0300 +++ b/src/auth/auth-master-connection.c Wed Oct 13 22:11:33 2004 +0300 @@ -58,7 +58,6 @@ { const char *p; - str_append(str, user->virtual_user); str_printfa(str, "%s\tuid=%s\tgid=%s", user->virtual_user, dec2str(user->uid), dec2str(user->gid));