From a089b2999d00ca90841acb2bd1a7ecd4970e1bd4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 16 Jun 2003 11:31:51 +0300 Subject: [PATCH] compile fixes --HG-- branch : HEAD --- src/lib/ioloop-select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3