From: Timo Sirainen Date: Mon, 16 Jun 2003 08:31:51 +0000 (+0300) Subject: compile fixes X-Git-Tag: 1.1.alpha1~4552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a089b2999d00ca90841acb2bd1a7ecd4970e1bd4;p=thirdparty%2Fdovecot%2Fcore.git compile fixes --HG-- branch : HEAD --- diff --git a/src/lib/ioloop-select.c b/src/lib/ioloop-select.c index e6d0c66720..719eede2e8 100644 --- a/src/lib/ioloop-select.c +++ b/src/lib/ioloop-select.c @@ -83,7 +83,7 @@ void io_loop_handle_remove(struct ioloop *ioloop, int fd, int condition) void io_loop_handler_run(struct ioloop *ioloop) { struct timeval tv; - struct io *io, *next; + struct io *io, **io_p; unsigned int t_id; int ret, fd, condition; @@ -111,7 +111,7 @@ void io_loop_handler_run(struct ioloop *ioloop) for (io = ioloop->ios; io != NULL && ret > 0; io = *io_p) { if (io->destroyed) { /* we were destroyed, and io->fd points to -1 now. */ - io_destroy(ioloop, io); + io_destroy(ioloop, io_p); continue; }