[dovecot-cvs] dovecot/src/imap imap-fetch.c,1.30,1.31

cras at dovecot.org cras at dovecot.org
Mon Oct 11 16:24:05 EEST 2004


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv9176

Modified Files:
	imap-fetch.c 
Log Message:
Don't send extra ")" line with bad FETCH parameters.



Index: imap-fetch.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-fetch.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- imap-fetch.c	9 Oct 2004 14:22:14 -0000	1.30
+++ imap-fetch.c	11 Oct 2004 13:24:03 -0000	1.31
@@ -93,6 +93,7 @@
 	ctx->seen_flag.flags = MAIL_SEEN;
 	ctx->all_headers_buf = buffer_create_dynamic(client->cmd_pool, 128);
 	ctx->handlers = buffer_create_dynamic(client->cmd_pool, 128);
+	ctx->line_finished = TRUE;
 	return ctx;
 }
 
@@ -152,7 +153,6 @@
 	ctx->search_ctx =
 		mailbox_search_init(ctx->trans, NULL, search_arg, NULL,
 				    ctx->fetch_data, ctx->all_headers_ctx);
-	ctx->line_finished = TRUE;
 }
 
 int imap_fetch(struct imap_fetch_context *ctx)



More information about the dovecot-cvs mailing list