dovecot: Added t_push/t_pop

dovecot at dovecot.org dovecot at dovecot.org
Wed Jul 18 06:49:26 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/16698620809a
changeset: 6065:16698620809a
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jul 18 06:42:17 2007 +0300
description:
Added t_push/t_pop

diffstat:

1 file changed, 2 insertions(+)
src/lib-storage/mail-storage.c |    2 ++

diffs (15 lines):

diff -r 5d9e48e97f5a -r 16698620809a src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c	Wed Jul 18 06:33:00 2007 +0300
+++ b/src/lib-storage/mail-storage.c	Wed Jul 18 06:42:17 2007 +0300
@@ -444,9 +444,11 @@ struct mailbox *mailbox_open(struct mail
 		return NULL;
 	}
 
+	t_push();
 	box = storage->v.mailbox_open(storage, name, input, flags);
 	if (hook_mailbox_opened != NULL && box != NULL)
 		hook_mailbox_opened(box);
+	t_pop();
 	return box;
 }
 


More information about the dovecot-cvs mailing list