]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
compile fixes
authorTimo Sirainen <tss@iki.fi>
Mon, 16 Jun 2003 08:31:51 +0000 (11:31 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 16 Jun 2003 08:31:51 +0000 (11:31 +0300)
--HG--
branch : HEAD

src/lib/ioloop-select.c

index e6d0c667208b51ad5d612845100fa1ec1a4e7f0a..719eede2e8f5b227e95acf7e402364ff92b0884f 100644 (file)
@@ -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;
                }