| Submitter | Gerd Hoffmann |
|---|---|
| Date | Oct. 15, 2010, 9:31 a.m. |
| Message ID | <1287135097-8914-2-git-send-email-kraxel@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/67913/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/ui/spice-core.c b/ui/spice-core.c index 8b5e4a8..3fcbeca 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -94,7 +94,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); }