[Spice-devel] [PATCH qemu-spice] spice-core: fix watching for write events
Hans de Goede
hdegoede at redhat.com
Fri Oct 15 00:47:53 PDT 2010
---
ui/spice-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 813cc10..0a45723 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -96,7 +96,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);
}
--
1.7.3.1
More information about the Spice-devel
mailing list