[dovecot-cvs] dovecot/src/auth auth-master-listener.c,1.11,1.12

tss at dovecot.org tss at dovecot.org
Sun Mar 18 04:01:46 EET 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv11515/auth

Modified Files:
	auth-master-listener.c 
Log Message:
net_listen_unix() API changed a bit. -1 is now returned for errors that can
be ignored (remote closed the socket) and -2 for everything else.



Index: auth-master-listener.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-master-listener.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- auth-master-listener.c	15 Dec 2006 18:38:08 -0000	1.11
+++ auth-master-listener.c	18 Mar 2007 02:01:41 -0000	1.12
@@ -95,7 +95,7 @@
 	fd = net_accept(s->fd, NULL, NULL);
 	if (fd < 0) {
 		if (fd < -1)
-			i_fatal("accept(type %d) failed: %m", s->type);
+			i_error("accept(type %d) failed: %m", s->type);
 	} else {
 		net_set_nonblock(fd, TRUE);
 



More information about the dovecot-cvs mailing list