summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--iohandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iohandler.c b/iohandler.c
index 5640d49388..3c74de612b 100644
--- a/iohandler.c
+++ b/iohandler.c
@@ -33,13 +33,13 @@
 #endif
 
 typedef struct IOHandlerRecord {
-    int fd;
     IOCanReadHandler *fd_read_poll;
     IOHandler *fd_read;
     IOHandler *fd_write;
-    int deleted;
     void *opaque;
     QLIST_ENTRY(IOHandlerRecord) next;
+    int fd;
+    bool deleted;
 } IOHandlerRecord;
 
 static QLIST_HEAD(, IOHandlerRecord) io_handlers =