Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8754:ed352de284be HEAD
imap-acl: When GETACL lists negative rights, the "-" wasn't inside quotes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 20 Feb 2009 15:38:42 -0500 |
parents | f62c201dc8ac |
children | 2579345e877f |
files | src/plugins/imap-acl/imap-acl-plugin.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/imap-acl/imap-acl-plugin.c Fri Feb 20 15:37:42 2009 -0500 +++ b/src/plugins/imap-acl/imap-acl-plugin.c Fri Feb 20 15:38:42 2009 -0500 @@ -128,9 +128,8 @@ { const char *const *rights = neg ? right->neg_rights : right->rights; - if (neg) str_append_c(dest,'-'); - str_truncate(tmp, 0); + if (neg) str_append_c(tmp,'-'); if (right->global) str_append(tmp, IMAP_ACL_GLOBAL_PREFIX); switch (right->id_type) {