Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx> On Mon, 2016-01-18 at 16:38 +0000, Frediano Ziglio wrote: > From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> > > --- > server/main-channel.c | 2 +- > server/reds.c | 2 +- > server/reds.h | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/server/main-channel.c b/server/main-channel.c > index b5268fb..0ab3dec 100644 > --- a/server/main-channel.c > +++ b/server/main-channel.c > @@ -891,7 +891,7 @@ static int > main_channel_handle_parsed(RedChannelClient *rcc, uint32_t size, uint > return FALSE; > } > tokens = (SpiceMsgcMainAgentStart *)message; > - reds_on_main_agent_start(mcc, tokens->num_tokens); > + reds_on_main_agent_start(reds, mcc, tokens->num_tokens); > break; > } > case SPICE_MSGC_MAIN_AGENT_DATA: { > diff --git a/server/reds.c b/server/reds.c > index bd905e2..db1f718 100644 > --- a/server/reds.c > +++ b/server/reds.c > @@ -944,7 +944,7 @@ void reds_fill_channels(RedsState *reds, > SpiceMsgChannels *channels_info) > } > } > > -void reds_on_main_agent_start(MainChannelClient *mcc, uint32_t > num_tokens) > +void reds_on_main_agent_start(RedsState *reds, MainChannelClient > *mcc, uint32_t num_tokens) > { > SpiceCharDeviceState *dev_state = reds->agent_state.base; > RedChannelClient *rcc; > diff --git a/server/reds.h b/server/reds.h > index fbb616d..4033724 100644 > --- a/server/reds.h > +++ b/server/reds.h > @@ -94,7 +94,7 @@ void reds_update_stat_value(uint32_t value); > > /* callbacks from main channel messages */ > > -void reds_on_main_agent_start(MainChannelClient *mcc, uint32_t > num_tokens); > +void reds_on_main_agent_start(RedsState *reds, MainChannelClient > *mcc, uint32_t num_tokens); > void reds_on_main_agent_tokens(MainChannelClient *mcc, uint32_t > num_tokens); > uint8_t *reds_get_agent_data_buffer(MainChannelClient *mcc, size_t > size); > void reds_release_agent_data_buffer(uint8_t *buf); _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel