commit | 3d6d306c104abe37610184f12e9342fcbc078395 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Oct 15 09:47:53 2010 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Nov 02 12:42:45 2010 +0100 |
tree | 5689995e9ed4fdd41b692ccda72581b46557b4eb | |
parent | 7d72e76228351d18a856f1e4f5365b59d3205dc3 [diff] [blame] |
spice-core: fix watching for write events Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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 @@ 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); }