summaryrefslogtreecommitdiffstats
path: root/server/inputs_channel.c
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-02 13:20:20 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:13:00 +0300
commiteb4c95b08b6848ee604497bb66392636341ad1fe (patch)
tree87a1eaa15aa020ca057a71f808dc077993c86384 /server/inputs_channel.c
parent4f551a3550cf0d54e682e50ccddb446d15732bbe (diff)
downloadspice-eb4c95b08b6848ee604497bb66392636341ad1fe.tar.gz
spice-eb4c95b08b6848ee604497bb66392636341ad1fe.tar.xz
spice-eb4c95b08b6848ee604497bb66392636341ad1fe.zip
red_channel: handle sending SPICE_MSG_MIGRATE
The relevant code is common to all channels. The patch also contains a fix to the return value for handle_migrate_data callback: s/uint64_t/int
Diffstat (limited to 'server/inputs_channel.c')
-rw-r--r--server/inputs_channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index e14e995a..269e2dc4 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -551,7 +551,8 @@ void inputs_init(void)
FALSE, /* handle_acks */
spice_get_client_channel_parser(SPICE_CHANNEL_INPUTS, NULL),
inputs_channel_handle_parsed,
- &channel_cbs);
+ &channel_cbs,
+ 0);
if (!g_inputs_channel) {
spice_error("failed to allocate Inputs Channel");