[libvirt] [PATCH] wireshark: Drop glib dependency

Daniel P. Berrange berrange at redhat.com
Mon Aug 1 09:14:23 UTC 2016


On Mon, Aug 01, 2016 at 10:25:09AM +0200, Michal Privoznik wrote:
> The only function that we currently use from glib is g_sprintf().
> That's a very big gun for such small target. Not only that, but
> we've silently relied on wireshark dragging in the glib. Replace
> the g_sprintf() with plain sprinf() so that we can drop the glib
> dependency.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tools/wireshark/src/packet-libvirt.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

ACK


Regards,
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 :|




More information about the libvir-list mailing list