Re: [virt-viewer: PATCH] Check for the right spice version in session-spice.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2014-10-16 at 10:42 -0500, Jonathon Jongsma wrote:
> On Thu, 2014-10-16 at 16:31 +0200, Fabiano Fidêncio wrote:
> > We have to check for the spice version where the
> > SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD_AND_USERNAME was introduced and
> > not for the one where spice_channel_get_error() was introduced.
> > ---
> >  src/virt-viewer-session-spice.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
> > index c45795c..4cd2ac8 100644
> > --- a/src/virt-viewer-session-spice.c
> > +++ b/src/virt-viewer-session-spice.c
> > @@ -514,7 +514,7 @@ virt_viewer_session_spice_main_channel_event(SpiceChannel *channel G_GNUC_UNUSED
> >          const GError *error = NULL;
> >          g_debug("main channel: auth failure (wrong username/password?)");
> >  
> > -#if SPICE_GTK_CHECK_VERSION(0, 23, 21)
> > +#if SPICE_GTK_CHECK_VERSION(0, 25, 46)
> >          {
> >              error = spice_channel_get_error(channel);
> >              username_required = g_error_matc hes(error,
> 
> 
> ACK
> 

Pushed as ccc3fbe16a291bea47ec4f0bd8806122cbe28b7d.
Best Regards,
--
Fabiano Fidêncio

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux