[dovecot-cvs] dovecot/src/lib ioloop.c,1.21,1.22
cras at procontrol.fi
cras at procontrol.fi
Sat Jun 19 23:07:57 EEST 2004
Update of /home/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv10987
Modified Files:
ioloop.c
Log Message:
fix for fix
Index: ioloop.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/ioloop.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- ioloop.c 19 Jun 2004 20:06:55 -0000 1.21
+++ ioloop.c 19 Jun 2004 20:07:51 -0000 1.22
@@ -82,11 +82,12 @@
io_loop_handle_remove(current_ioloop, io->fd, io->condition);
io->destroyed = TRUE;
- io->fd = -1;
/* check if we removed the highest fd */
if (io->fd == current_ioloop->highest_fd)
update_highest_fd(current_ioloop);
+
+ io->fd = -1;
}
void io_destroy(struct ioloop *ioloop, struct io **io_p)
More information about the dovecot-cvs
mailing list