diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-15 09:47:53 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-11-02 12:42:45 +0100 |
commit | 3d6d306c104abe37610184f12e9342fcbc078395 (patch) | |
tree | 5689995e9ed4fdd41b692ccda72581b46557b4eb /ui | |
parent | 7d72e76228351d18a856f1e4f5365b59d3205dc3 (diff) | |
download | qemu-3d6d306c104abe37610184f12e9342fcbc078395.zip qemu-3d6d306c104abe37610184f12e9342fcbc078395.tar.gz qemu-3d6d306c104abe37610184f12e9342fcbc078395.tar.bz2 |
spice-core: fix watching for write events
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-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 6a1cf17..45807ed 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -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); } |