mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
spice-core: fix watching for write events
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
7d72e76228
commit
3d6d306c10
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ static void watch_update_mask(SpiceWatch *watch, int event_mask)
|
|||
on_read = watch_read;
|
||||
}
|
||||
if (watch->event_mask & SPICE_WATCH_EVENT_WRITE) {
|
||||
on_read = watch_write;
|
||||
on_write = watch_write;
|
||||
}
|
||||
qemu_set_fd_handler(watch->fd, on_read, on_write, watch);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue