libvirt/examples/admin
Ján Tomko aa7bb4f36d examples: check asprintf return value in client_info.c
On error, asprintf returns -1 and the contents of the string
pointer is undefined. In the rest of the libvirt code,
the virAsprintf wrapper takes care of that.

Check the return value and report a generic error, since we
purposefully avoid linking to virutil.
2016-07-01 15:39:01 +02:00
..
client_close.c
client_info.c
client_limits.c
list_clients.c
list_servers.c
threadpool_params.c