| Submitter | Aneesh Kumar K.V |
|---|---|
| Date | Sept. 6, 2011, 5:41 p.m. |
| Message ID | <87bouxd0w3.fsf@skywalker.in.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/113646/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/iohandler.c b/iohandler.c index 5ef66fb..aaeb20d 100644 --- a/iohandler.c +++ b/iohandler.c @@ -121,7 +121,7 @@ int qemu_set_fd_handler(int fd, g_source_remove(tramp->tag); } - if (opaque) { + GIOCondition cond = 0; tramp->fd_read = fd_read; @@ -138,7 +138,6 @@ int qemu_set_fd_handler(int fd, tramp->chan = g_io_channel_unix_new(fd); tramp->tag = g_io_add_watch(tramp->chan, cond, fd_trampoline, tramp); - } return 0; }