Mercurial > dovecot > original-hg > dovecot-1.2
diff src/plugins/lazy-expunge/lazy-expunge-plugin.c @ 6940:414c9d631a81 HEAD
Replaced t_push/t_pop calls with T_FRAME*() macros.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 05 Dec 2007 17:47:44 +0200 |
parents | 1a3604c8ee05 |
children | 7ed926ed7aa4 |
line wrap: on
line diff
--- a/src/plugins/lazy-expunge/lazy-expunge-plugin.c Wed Dec 05 17:47:19 2007 +0200 +++ b/src/plugins/lazy-expunge/lazy-expunge-plugin.c Wed Dec 05 17:47:44 2007 +0200 @@ -392,7 +392,6 @@ MAILBOX_LIST_PATH_TYPE_MAILBOX); } - t_push(); src2dir = mailbox_list_get_path(src_list, src_name, MAILBOX_LIST_PATH_TYPE_CONTROL); if (strcmp(src2dir, srcdir) != 0) { @@ -407,7 +406,6 @@ MAILBOX_LIST_PATH_TYPE_INDEX); (void)dir_move_or_merge(src_list, src3dir, destdir); } - t_pop(); *_dest_name = dest_name; return 1; @@ -491,7 +489,6 @@ /* if this is one of our internal storages, mark it as such before quota plugin sees it */ - t_push(); p = t_strsplit_spaces(getenv("LAZY_EXPUNGE"), " "); for (i = 0; i < LAZY_NAMESPACE_COUNT; i++, p++) { if (strcmp(storage->ns->prefix, *p) == 0) { @@ -499,7 +496,6 @@ break; } } - t_pop(); llist->storage = storage; @@ -534,7 +530,6 @@ if (lazy_expunge_next_hook_mail_namespaces_created != NULL) lazy_expunge_next_hook_mail_namespaces_created(namespaces); - t_push(); p = t_strsplit_spaces(getenv("LAZY_EXPUNGE"), " "); for (i = 0; i < LAZY_NAMESPACE_COUNT; i++, p++) { const char *name = *p; @@ -556,7 +551,6 @@ lstorage = LAZY_EXPUNGE_CONTEXT(lazy_namespaces[i]->storage); lstorage->internal_namespace = TRUE; } - t_pop(); } void lazy_expunge_plugin_init(void)