[dovecot-cvs] dovecot/src/imap client.c,1.67,1.67.2.1
cras at dovecot.org
cras at dovecot.org
Tue May 30 16:14:43 EEST 2006
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv8673/imap
Modified Files:
Tag: branch_1_0
client.c
Log Message:
Added assert against NULL reason for client_disconnect().
Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.67
retrieving revision 1.67.2.1
diff -u -d -r1.67 -r1.67.2.1
--- client.c 6 Mar 2006 20:34:43 -0000 1.67
+++ client.c 30 May 2006 13:14:41 -0000 1.67.2.1
@@ -113,6 +113,8 @@
void client_disconnect(struct client *client, const char *reason)
{
+ i_assert(reason != NULL);
+
if (client->disconnected)
return;
More information about the dovecot-cvs
mailing list