From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- server/main-dispatcher.c | 2 +- server/reds.c | 2 +- server/reds.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/main-dispatcher.c b/server/main-dispatcher.c index 132a693..777a44f 100644 --- a/server/main-dispatcher.c +++ b/server/main-dispatcher.c @@ -86,7 +86,7 @@ static void main_dispatcher_self_handle_channel_event( int event, SpiceChannelEventInfo *info) { - reds_handle_channel_event(event, info); + reds_handle_channel_event(reds, event, info); } static void main_dispatcher_handle_channel_event(void *opaque, diff --git a/server/reds.c b/server/reds.c index 5d2130d..d3b693d 100644 --- a/server/reds.c +++ b/server/reds.c @@ -186,7 +186,7 @@ static ChannelSecurityOptions *reds_find_channel_security(RedsState *reds, int i return now; } -void reds_handle_channel_event(int event, SpiceChannelEventInfo *info) +void reds_handle_channel_event(RedsState *reds, int event, SpiceChannelEventInfo *info) { reds->core->channel_event(event, info); diff --git a/server/reds.h b/server/reds.h index 3a05019..6a8654e 100644 --- a/server/reds.h +++ b/server/reds.h @@ -48,7 +48,7 @@ struct SpiceMigrateState { }; /* main thread only */ -void reds_handle_channel_event(int event, SpiceChannelEventInfo *info); +void reds_handle_channel_event(RedsState *reds, int event, SpiceChannelEventInfo *info); void reds_disable_mm_time(RedsState *reds); void reds_enable_mm_time(RedsState *reds); -- 2.5.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel