fix possible crash on user deletion
[srvx.git] / src / ioset-impl.h
index a3c12ceebe99d01d84bc1183bf97f201d52a114d..a7bebeea52ed2071de0febc541377057330a4ff8 100644 (file)
@@ -31,7 +31,7 @@ struct io_engine {
     const char *name;
     int (*init)(void);
     void (*add)(struct io_fd *fd);
-    void (*remove)(struct io_fd *fd);
+    void (*remove)(struct io_fd *fd, int os_closed);
     void (*update)(struct io_fd *fd);
     int (*loop)(struct timeval *timeout);
     void (*cleanup)(void);