dovecot-2.0-sslstream: ioloop-epool: Panic on epoll_ctl() failur...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:21 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/0598391a86e8
changeset: 10125:0598391a86e8
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 20 20:55:55 2009 -0400
description:
ioloop-epool: Panic on epoll_ctl() failures so it's easier to find the bug.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/ioloop-epoll.c |    2 +-

diffs (12 lines):

diff -r f6257036f7ef -r 0598391a86e8 src/lib/ioloop-epoll.c
--- a/src/lib/ioloop-epoll.c	Tue Oct 20 20:35:34 2009 -0400
+++ b/src/lib/ioloop-epoll.c	Tue Oct 20 20:55:55 2009 -0400
@@ -110,7 +110,7 @@ void io_loop_handle_add(struct io_file *
 	op = first ? EPOLL_CTL_ADD : EPOLL_CTL_MOD;
 
 	if (epoll_ctl(ctx->epfd, op, io->fd, &event) < 0) {
-		i_fatal("io_loop_handle_add: epoll_ctl(%d, %d): %m",
+		i_panic("io_loop_handle_add: epoll_ctl(%d, %d): %m",
 			op, io->fd);
 	}
 


More information about the dovecot-cvs mailing list