Revision 3d6d306c ui/spice-core.c

b/ui/spice-core.c
95 95
        on_read = watch_read;
96 96
    }
97 97
    if (watch->event_mask & SPICE_WATCH_EVENT_WRITE) {
98
        on_read = watch_write;
98
        on_write = watch_write;
99 99
    }
100 100
    qemu_set_fd_handler(watch->fd, on_read, on_write, watch);
101 101
}

Also available in: Unified diff