[dovecot-cvs] dovecot/src/dict dict-server.c,1.19,1.20

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


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

Modified Files:
	dict-server.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: dict-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/dict/dict-server.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- dict-server.c	15 Dec 2006 18:38:09 -0000	1.19
+++ dict-server.c	18 Mar 2007 02:01:37 -0000	1.20
@@ -460,7 +460,7 @@
 	fd = net_accept(server->fd, NULL, NULL);
 	if (fd < 0) {
 		if (fd < -1)
-			i_fatal("accept(%s) failed: %m", server->path);
+			i_error("accept(%s) failed: %m", server->path);
 	} else {
 		net_set_nonblock(fd, TRUE);
 		dict_client_connection_init(server, fd);



More information about the dovecot-cvs mailing list