diff src/imap/imap-fetch.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 51bf40995f0f
children 1029b2ffad2d
line wrap: on
line diff
--- a/src/imap/imap-fetch.c	Wed Dec 05 17:47:19 2007 +0200
+++ b/src/imap/imap-fetch.c	Wed Dec 05 17:47:44 2007 +0200
@@ -310,11 +310,13 @@
 					return -1;
 			}
 
-			t_push();
-			ret = handlers[ctx->cur_handler].
-				handler(ctx, ctx->cur_mail,
-					handlers[ctx->cur_handler].context);
-			t_pop();
+			T_FRAME(
+				const struct imap_fetch_context_handler *h =
+					&handlers[ctx->cur_handler];
+
+				ret = h->handler(ctx, ctx->cur_mail,
+						 h->context);
+			);
 
 			if (ret == 0) {
 				if (!ctx->line_partial) {