summaryrefslogtreecommitdiff
path: root/server/main-channel.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-01-30 16:53:54 -0600
committerFrediano Ziglio <fziglio@redhat.com>2016-02-12 15:27:03 +0000
commitdc4051fb9af59d2d9c7d9983d25e59249c945cb2 (patch)
tree8eca267fa02a7abec35fffff7ab238ecc03c0c8a /server/main-channel.c
parentabcbf20d8b8e88a2b5663429e5c614a51c91942e (diff)
Store a reference to RedsState in Channel base class
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/main-channel.c')
-rw-r--r--server/main-channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/main-channel.c b/server/main-channel.c
index d69095dc..e2f7ae31 100644
--- a/server/main-channel.c
+++ b/server/main-channel.c
@@ -1179,7 +1179,8 @@ MainChannel* main_channel_new(void)
channel_cbs.handle_migrate_data = main_channel_handle_migrate_data;
// TODO: set the migration flag of the channel
- channel = red_channel_create_parser(sizeof(MainChannel), reds_get_core_interface(reds),
+ channel = red_channel_create_parser(sizeof(MainChannel), reds,
+ reds_get_core_interface(reds),
SPICE_CHANNEL_MAIN, 0,
FALSE, /* handle_acks */
spice_get_client_channel_parser(SPICE_CHANNEL_MAIN, NULL),