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

Re: [libvirt] [libvirt-glib 2/5] mainloop: add missing debug message



On Wed, Jun 20, 2012 at 12:29:48PM +0200, Christophe Fergeau wrote:
> All timeout and watch additions/updates/removals are logged except
> successful watch updates. This commit adds such a log message.
> ---
>  libvirt-glib/libvirt-glib-event.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libvirt-glib/libvirt-glib-event.c b/libvirt-glib/libvirt-glib-event.c
> index f09d6c8..c720c1f 100644
> --- a/libvirt-glib/libvirt-glib-event.c
> +++ b/libvirt-glib/libvirt-glib-event.c
> @@ -219,6 +219,8 @@ gvir_event_handle_update(int watch,
>          goto cleanup;
>      }
>  
> +    g_debug("Update handle %p %d %d %d\n", data, watch, data->fd, events);
> +
>      if (events) {
>          GIOCondition cond = 0;
>          if (events == data->events)

ACK, trivial

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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