[libvirt] [PATCH 07/10] xenapi: avoid sprintf

Eric Blake eblake at redhat.com
Thu Aug 19 22:26:45 UTC 2010


On 08/19/2010 03:14 PM, Matthias Bolte wrote:
> 2010/8/19 Eric Blake <eblake at redhat.com>:
>> * src/xenapi/xenapi_utils.h (createVifNetwork): Delete prototype.
>> * src/xenapi/xenapi_utils.c (createVifNetwork): Change signature,
>> and use virAsprintf.  Detect allocation failure.
>> (createVMRecordFromXml): Adjust caller.
>> ---
>>
>> I couldn't find any other uses of createVifNetwork, so changing
>> its prototype and marking it static seemed best.
>>
> 
> ACK.

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100819/49268f06/attachment-0001.sig>


More information about the libvir-list mailing list