dovecot-1.2: auth: Treat accept() failure as a fatal failure.

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 7 04:26:36 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/f56bbf8b33e1
changeset: 9365:f56bbf8b33e1
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 06 21:26:26 2009 -0400
description:
auth: Treat accept() failure as a fatal failure.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/auth-master-listener.c |    2 +-

diffs (12 lines):

diff -r eb22a456a625 -r f56bbf8b33e1 src/auth/auth-master-listener.c
--- a/src/auth/auth-master-listener.c	Sun Sep 06 21:10:24 2009 -0400
+++ b/src/auth/auth-master-listener.c	Sun Sep 06 21:26:26 2009 -0400
@@ -95,7 +95,7 @@ static void auth_master_listener_accept(
 	fd = net_accept(s->fd, NULL, NULL);
 	if (fd < 0) {
 		if (fd < -1)
-			i_error("accept(type %d) failed: %m", s->type);
+			i_fatal("accept(type %d) failed: %m", s->type);
 	} else {
 		net_set_nonblock(fd, TRUE);
 


More information about the dovecot-cvs mailing list