chiark / gitweb /
ev_reader and ev_writer now own the FDs you give them. This is
[disorder] / server / trackdb.c
index 59f755faf2663d69c078fc9084bf9649d0f8e4b4..34311ebc27e214053cf4402865df9f1cfc8e98ed 100644 (file)
@@ -1024,7 +1024,6 @@ static int stats_finished(ev_source attribute((unused)) *ev,
 
 static int stats_read(ev_source attribute((unused)) *ev,
                       ev_reader *reader,
-                      int attribute((unused)) fd,
                       void *ptr,
                       size_t bytes,
                       int eof,
@@ -1040,7 +1039,6 @@ static int stats_read(ev_source attribute((unused)) *ev,
 }
 
 static int stats_error(ev_source attribute((unused)) *ev,
-                       int attribute((unused)) fd,
                        int errno_value,
                        void *u) {
   struct stats_details *const d = u;