[dovecot-cvs] dovecot/src/auth main.c,1.18,1.19

cras at procontrol.fi cras at procontrol.fi
Tue Mar 4 04:18:11 EET 2003


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv17371/auth

Modified Files:
	main.c 
Log Message:
net_* functions don't anymore set sockets to non-blocking by default.



Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- main.c	8 Feb 2003 17:13:36 -0000	1.18
+++ main.c	4 Mar 2003 02:18:09 -0000	1.19
@@ -35,6 +35,7 @@
 		if (fd < -1)
 			i_fatal("accept() failed: %m");
 	} else {
+		net_set_nonblock(fd, TRUE);
 		(void)login_connection_create(fd);
 	}
 }




More information about the dovecot-cvs mailing list