Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4100:ffbcfa5791e6 HEAD
Added more debugging information for handling unexpected events. Patch by
Václav Haisman
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 25 Mar 2006 10:08:03 +0200 |
parents | 0c11f0b05e19 |
children | 321469dcb8fb |
files | src/lib/ioloop-kqueue.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/ioloop-kqueue.c Tue Mar 07 16:10:36 2006 +0200 +++ b/src/lib/ioloop-kqueue.c Sat Mar 25 10:08:03 2006 +0200 @@ -204,7 +204,13 @@ (void *)io->callback); } } else - i_panic("Unrecognized event"); + i_panic("Unrecognized event: kevent {.ident = %u," + " .filter = 0x%04x," + " .flags = 0x%04x," + " .fflags = 0x%08x," + " .data = 0x%08x}", ctx->evbuf[i].ident, + ctx->evbuf[i].filter, ctx->evbuf[i].flags, + ctx->evbuf[i].fflags, ctx->evbuf[i].data); } }