Il 18/06/2014 21:06, Max Reitz ha scritto:
+static void nbd_set_handlers(NBDClient *client)
+{
+    if (client->exp && client->exp->ctx) {
+        aio_set_fd_handler(client->exp->ctx, client->sock,
+                           client->can_read ? nbd_read : NULL,
+                           client->send_coroutine ? nbd_restart_write : NULL,
+                           client);
+    }
+}


Note that aio_set_fd_handler doesn't exist on Windows (yet), so this patch breaks compilation on Windows. We can fix this for 2.2 and then apply your patches.

Paolo

Reply via email to