aboutsummaryrefslogtreecommitdiff
path: root/src/IO/IO.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/IO.c')
-rw-r--r--src/IO/IO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c
index a0e18226..77790131 100644
--- a/src/IO/IO.c
+++ b/src/IO/IO.c
@@ -152,10 +152,10 @@ static void IO_close_fd(IOData_t *io, int CloseCode)
/* Stop the polling on this FD */
if (CloseCode & IO_StopRd) {
events |= DIO_READ;
- }
+ }
if (CloseCode & IO_StopWr) {
events |= DIO_WRITE;
- }
+ }
a_IOwatch_remove_fd(io->FD, events);
_MSG(" end IO close (%d) <=====\n", io->FD);
}