changeset 2483:b0fc9984ddcd HEAD

Same FETCH handler could have been executed infinitely if client didn't read the data fast enough.
author Timo Sirainen <tss@iki.fi>
date Mon, 23 Aug 2004 17:48:29 +0300
parents 626e943aacf1
children c8b12c26a040
files src/imap/imap-fetch.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/imap-fetch.c	Mon Aug 23 17:41:06 2004 +0300
+++ b/src/imap/imap-fetch.c	Mon Aug 23 17:48:29 2004 +0300
@@ -169,6 +169,7 @@
 
 		ctx->cont_handler = NULL;
 		ctx->cur_offset = 0;
+                ctx->cur_handler++;
 	}
 
 	handlers = buffer_get_data(ctx->handlers, &size);