Mercurial > dovecot > original-hg > dovecot-1.2
diff src/plugins/acl/acl-plugin.c @ 4964:3ed0749731d2 HEAD
If debug is enabled, log some debugging messages. Also cleaned up the code
bit, and made "acl = vfile" not require ":" after the "vfile".
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 28 Dec 2006 16:47:38 +0200 |
parents | 93bc9770f938 |
children | 24f4a959a24c |
line wrap: on
line diff
--- a/src/plugins/acl/acl-plugin.c Thu Dec 28 14:26:46 2006 +0200 +++ b/src/plugins/acl/acl-plugin.c Thu Dec 28 16:47:38 2006 +0200 @@ -23,6 +23,9 @@ acl_next_hook_mailbox_list_created = hook_mailbox_list_created; hook_mailbox_list_created = acl_mailbox_list_created; + } else { + if (getenv("DEBUG") != NULL) + i_info("acl: ACL environment not set"); } }