projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa57c9f
)
spice-core: fix watching for write events
author
Hans de Goede
<hdegoede@redhat.com>
Fri, 15 Oct 2010 07:47:53 +0000
(09:47 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 2 Nov 2010 11:42:45 +0000
(12:42 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-core.c
patch
|
blob
|
history
diff --git
a/ui/spice-core.c
b/ui/spice-core.c
index
6a1cf17
..
45807ed
100644
(file)
--- 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);
}