diff options
author | Alon Levy <alevy@redhat.com> | 2010-10-25 13:50:58 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-10-25 13:50:58 +0200 |
commit | a4981ed2d7f54d6be26bfa8ec5adb4218b8ad6f7 (patch) | |
tree | e00e25d24a726412a6a6e7db5a99cba7676af5ce | |
parent | 15dd6e3386485236ba9e3b96ab40a4016c93f708 (diff) |
(do not commit) spice-core: fix watching for write events
-rw-r--r-- | 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 688a60c69..7a1f262ac 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); } |