[dovecot-cvs] dovecot/src/imap client.c,1.16,1.17

cras at procontrol.fi cras at procontrol.fi
Wed Dec 18 17:15:43 EET 2002


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv3676/src/imap

Modified Files:
	client.c 
Log Message:
Marked all non-trivial buffer modifications with @UNSAFE tag. Several
cleanups and a couple of minor bugfixes.



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- client.c	9 Dec 2002 15:29:15 -0000	1.16
+++ client.c	18 Dec 2002 15:15:41 -0000	1.17
@@ -63,10 +63,6 @@
 	client->output = o_stream_create_file(hout, default_pool, 4096,
 					      IO_PRIORITY_DEFAULT, FALSE);
 
-	/* always use nonblocking I/O */
-	net_set_nonblock(hin, TRUE);
-	net_set_nonblock(hout, TRUE);
-
 	/* set timeout for reading expected data (eg. APPEND). This is
 	   different from the actual idle time. */
 	i_stream_set_blocking(client->input, CLIENT_CMDINPUT_TIMEOUT,




More information about the dovecot-cvs mailing list