Mercurial > dovecot > core-2.2
changeset 12803:35577e832d5a
lib-storage: MAIL_STORAGE_SERVICE_FLAG_DEBUG didn't do anything.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 04 Mar 2011 03:16:25 +0200 |
parents | c0203b7923d3 |
children | a2120ee55303 |
files | src/lib-storage/mail-storage-service.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage-service.c Fri Mar 04 02:51:18 2011 +0200 +++ b/src/lib-storage/mail-storage-service.c Fri Mar 04 03:16:25 2011 +0200 @@ -829,6 +829,9 @@ user->gid_source = "mail_gid setting"; user->uid_source = "mail_uid setting"; + if ((ctx->flags & MAIL_STORAGE_SERVICE_FLAG_DEBUG) != 0) + (void)settings_parse_line(user->set_parser, "mail_debug=yes"); + if (!userdb_lookup) { const char *home = getenv("HOME"); if (home != NULL)