On Wed, 2016-01-20 at 13:25 +0000, Frediano Ziglio wrote: > From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> > > Rather than using global 'reds' variable Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx> > --- > server/reds.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/server/reds.c b/server/reds.c > index 3f7ee27..e47c694 100644 > --- a/server/reds.c > +++ b/server/reds.c > @@ -3607,12 +3607,12 @@ SPICE_GNUC_VISIBLE int > spice_server_set_ticket(SpiceServer *s, > { > spice_assert(reds == s); > > - if (reds_main_channel_connected(reds)) { > + if (reds_main_channel_connected(s)) { > if (fail_if_connected) { > return -1; > } > if (disconnect_if_connected) { > - reds_disconnect(reds); > + reds_disconnect(s); > } > } > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel