Mercurial > dovecot > original-hg > dovecot-1.2
diff src/imap/cmd-namespace.c @ 8082:db66611fd195 HEAD
Added struct mail_user and fixed the code to support multiple users per process.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 12 Aug 2008 12:28:42 -0400 |
parents | 7ed926ed7aa4 |
children | b9faf4db2a9f |
line wrap: on
line diff
--- a/src/imap/cmd-namespace.c Fri Aug 08 17:16:07 2008 -0400 +++ b/src/imap/cmd-namespace.c Tue Aug 12 12:28:42 2008 -0400 @@ -42,11 +42,11 @@ str = t_str_new(256); str_append(str, "* NAMESPACE "); - list_namespaces(client->namespaces, NAMESPACE_PRIVATE, str); + list_namespaces(client->user->namespaces, NAMESPACE_PRIVATE, str); str_append_c(str, ' '); - list_namespaces(client->namespaces, NAMESPACE_SHARED, str); + list_namespaces(client->user->namespaces, NAMESPACE_SHARED, str); str_append_c(str, ' '); - list_namespaces(client->namespaces, NAMESPACE_PUBLIC, str); + list_namespaces(client->user->namespaces, NAMESPACE_PUBLIC, str); client_send_line(client, str_c(str)); client_send_tagline(cmd, "OK Namespace completed.");