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 examples: admin: Add some examples for the new admin APIs 2016-06-26 00:21:06 +02:00
client_info.c examples: check asprintf return value in client_info.c 2016-07-01 15:39:01 +02:00
client_limits.c examples: admin: Add some examples for the new admin APIs 2016-06-26 00:21:06 +02:00
list_clients.c examples: admin: Add some examples for the new admin APIs 2016-06-26 00:21:06 +02:00
list_servers.c examples: admin: Add some examples for the new admin APIs 2016-06-26 00:21:06 +02:00
threadpool_params.c examples: admin: Add some examples for the new admin APIs 2016-06-26 00:21:06 +02:00