dovecot-2.0: lib-storage: MAIL_STORAGE_SERVICE_FLAG_DEBUG didn't...

dovecot at dovecot.org dovecot at dovecot.org
Fri Mar 4 03:16:29 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/35577e832d5a
changeset: 12634:35577e832d5a
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Mar 04 03:16:25 2011 +0200
description:
lib-storage: MAIL_STORAGE_SERVICE_FLAG_DEBUG didn't do anything.

diffstat:

 src/lib-storage/mail-storage-service.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r c0203b7923d3 -r 35577e832d5a src/lib-storage/mail-storage-service.c
--- 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)


More information about the dovecot-cvs mailing list