Eric Blake
25ae3d3015
build: avoid useless virAsprintf
virAsprintf(&foo, "%s", bar) is wasteful compared to
foo = strdup(bar) (or eventually, VIR_STRDUP(foo, bar),
but one thing at a time...).
Noticed while reviewing Laine's attempt to clean up broken
qemu:///session.
* cfg.mk (sc_prohibit_asprintf): Enhance rule.
* src/esx/esx_storage_backend_vmfs.c
(esxStorageBackendVMFSVolumeLookupByKey): Fix offender.
* src/network/bridge_driver.c (networkStateInitialize): Likewise.
* src/nwfilter/nwfilter_dhcpsnoop.c (virNWFilterSnoopDHCPOpen):
Likewise.
* src/storage/storage_backend_sheepdog.c
(virStorageBackendSheepdogRefreshVol): Likewise.
* src/util/vircgroup.c (virCgroupAddTaskStrController): Likewise.
* src/util/virdnsmasq.c (addnhostsAdd): Likewise.
* src/xen/block_stats.c (xenLinuxDomainDeviceID): Likewise.
* src/xen/xen_driver.c (xenUnifiedConnectOpen): Likewise.
* tools/virsh.c (vshGetTypedParamValue): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
2013-05-02 13:35:26 -06:00
..
2013-05-02 16:56:55 +02:00
2012-12-07 14:21:25 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2012-12-11 19:54:37 -05:00
2012-12-11 19:54:37 -05:00
2013-04-30 18:38:18 +02:00
2012-03-05 13:18:24 +01:00
2013-04-03 16:19:35 +01:00
2009-09-21 14:41:45 +01:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2012-11-02 13:36:49 +00:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-02-12 17:50:22 +01:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-03-29 13:00:49 +01:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2013-05-02 13:35:26 -06:00
2013-03-21 12:32:03 +01:00
2013-04-11 16:44:38 +02:00
2013-05-02 16:56:55 +02:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2013-01-07 08:56:36 -07:00
2013-04-09 13:01:33 +08:00
2013-01-07 08:56:36 -07:00