[dovecot-cvs] dovecot/src/imap client.c,1.60,1.61

cras at dovecot.org cras at dovecot.org
Sat Jan 14 14:54:35 EET 2006


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

Modified Files:
	client.c 
Log Message:
Added assert



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- client.c	13 Jan 2006 20:25:59 -0000	1.60
+++ client.c	14 Jan 2006 12:54:32 -0000	1.61
@@ -64,6 +64,7 @@
 
 	if (client->command_pending) {
 		/* try to deinitialize the command */
+		i_assert(client->cmd.func != NULL);
 		i_stream_close(client->input);
 		o_stream_close(client->output);
 		ret = client->cmd.func(&client->cmd);



More information about the dovecot-cvs mailing list