Re: [virt-viewer][PATCH 2/6] events: remove timeout and handle from arrays

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

 



On Fri, Jul 17, 2015 at 06:15:19PM +0200, Christophe Fergeau wrote:
> > @@ -115,7 +112,7 @@ int virt_viewer_events_add_handle(int fd,
> >                                    virt_viewer_events_dispatch_handle,
> >                                    data);
> >  
> > -    handles[nhandles++] = data;
> > +    g_ptr_array_add(handles, data);
> >  
> >      return data->watch;
> >  }
> > @@ -123,10 +120,22 @@ int virt_viewer_events_add_handle(int fd,
> >  static struct virt_viewer_events_handle *
> >  virt_viewer_events_find_handle(int watch)
> 
> any reason for not keeping the guint *idx arg added in the source
> commit?
> 

Ah ok you squashed
https://libvirt.org/git/?p=libvirt-glib.git;a=commitdiff;h=1fb34633ef3b318ea678b775d5e47debc98d2184
in

Christophe

Attachment: pgp0rGu42r2OO.pgp
Description: PGP signature

_______________________________________________
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