[dovecot-cvs] dovecot/src/imap cmd-search.c,1.31,1.32

tss at dovecot.org tss at dovecot.org
Sun Mar 25 21:24:24 EEST 2007


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

Modified Files:
	cmd-search.c 
Log Message:
minor cleanup



Index: cmd-search.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-search.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- cmd-search.c	6 Feb 2007 12:56:13 -0000	1.31
+++ cmd-search.c	25 Mar 2007 18:24:22 -0000	1.32
@@ -55,6 +55,8 @@
 	if (ctx->to != NULL)
 		timeout_remove(&ctx->to);
 	str_free(&ctx->output_buf);
+
+	cmd->context = NULL;
 	return ret;
 }
 
@@ -89,7 +91,6 @@
 
 	if (imap_search_deinit(cmd, ctx) < 0)
 		ret = -1;
-	cmd->context = NULL;
 
 	if (ret < 0) {
 		client_send_storage_error(cmd,



More information about the dovecot-cvs mailing list