summaryrefslogtreecommitdiffstats
path: root/server/cursor-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/cursor-channel.c')
-rw-r--r--server/cursor-channel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 22514dc5..b47eeaa6 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -381,14 +381,13 @@ CursorChannel* cursor_channel_new(RedWorker *worker)
return cursor;
}
-CursorChannelClient *cursor_channel_client_new(CommonChannel *common,
- RedClient *client, RedsStream *stream,
+CursorChannelClient* cursor_channel_client_new(CursorChannel *cursor, RedClient *client, RedsStream *stream,
int mig_target,
uint32_t *common_caps, int num_common_caps,
uint32_t *caps, int num_caps)
{
CursorChannelClient *ccc =
- (CursorChannelClient*)common_channel_new_client(common,
+ (CursorChannelClient*)common_channel_new_client(&cursor->common,
sizeof(CursorChannelClient),
client, stream,
mig_target,