[dovecot-cvs] dovecot/src/master auth-process.c, 1.100, 1.101 login-process.c, 1.91, 1.92

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


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

Modified Files:
	auth-process.c login-process.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-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- auth-process.c	15 Feb 2007 13:10:46 -0000	1.100
+++ auth-process.c	18 Mar 2007 02:00:59 -0000	1.101
@@ -266,7 +266,7 @@
 	fd = net_accept(p->worker_listen_fd, NULL, NULL);
 	if (fd < 0) {
 		if (fd == -2)
-			i_fatal("net_accept(worker) failed: %m");
+			i_error("accept(worker) failed: %m");
 		return;
 	}
 

Index: login-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- login-process.c	15 Feb 2007 13:08:39 -0000	1.91
+++ login-process.c	18 Mar 2007 02:00:59 -0000	1.92
@@ -869,7 +869,7 @@
 	fd = net_accept(inetd_login_fd, NULL, NULL);
 	if (fd < 0) {
 		if (fd < -1)
-			i_fatal("accept(inetd_login_fd) failed: %m");
+			i_error("accept(inetd_login_fd) failed: %m");
 	} else {
 		net_set_nonblock(fd, TRUE);
 		fd_close_on_exec(fd, TRUE);



More information about the dovecot-cvs mailing list