changeset 9365:f56bbf8b33e1 HEAD

auth: Treat accept() failure as a fatal failure.
author Timo Sirainen <tss@iki.fi>
date Sun, 06 Sep 2009 21:26:26 -0400
parents eb22a456a625
children 38e491ff24d0
files src/auth/auth-master-listener.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 	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);