[dovecot-cvs] dovecot/src/pop3 client.c,1.41,1.42

cras at dovecot.org cras at dovecot.org
Wed Oct 13 15:32:56 EEST 2004


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv5830

Modified Files:
	client.c 
Log Message:
Crashfix



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- client.c	10 Oct 2004 16:25:06 -0000	1.41
+++ client.c	13 Oct 2004 12:32:54 -0000	1.42
@@ -230,9 +230,7 @@
 	str_append(str, "\r\n");
 
 	ret = o_stream_send(client->output, str_data(str), str_len(str));
-	if (ret < 0)
-		client_destroy(client);
-	else {
+	if (ret >= 0) {
 		i_assert((size_t)ret == str_len(str));
 
 		if (o_stream_get_buffer_used_size(client->output) <



More information about the dovecot-cvs mailing list