[dovecot-cvs] dovecot/src/imap cmd-idle.c,1.30.2.4,1.30.2.5

tss at dovecot.org tss at dovecot.org
Wed Dec 20 16:38:25 UTC 2006


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

Modified Files:
      Tag: branch_1_0
	cmd-idle.c 
Log Message:
Take back the last change in here. It was correctly handled already.



Index: cmd-idle.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-idle.c,v
retrieving revision 1.30.2.4
retrieving revision 1.30.2.5
diff -u -d -r1.30.2.4 -r1.30.2.5
--- cmd-idle.c	20 Dec 2006 16:35:24 -0000	1.30.2.4
+++ cmd-idle.c	20 Dec 2006 16:38:23 -0000	1.30.2.5
@@ -32,7 +32,6 @@
 static void idle_finish(struct cmd_idle_context *ctx, bool done_ok)
 {
 	struct client *client = ctx->client;
-	size_t size;
 
 	if (ctx->idle_to != NULL)
 		timeout_remove(&ctx->idle_to);
@@ -68,8 +67,7 @@
 	_client_reset_command(client);
 
 	/* we may have read something else besides "DONE" into the buffer */
-	(void)i_stream_get_data(client->input, &size);
-	if (size > 0)
+	if (client->input_pending)
 		_client_input(client);
 }
 



More information about the dovecot-cvs mailing list