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

2010-08-19 Thread Matthias Bolte
2010/8/19 Eric Blake ebl...@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

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

2010-08-19 Thread Eric Blake
On 08/19/2010 03:14 PM, Matthias Bolte wrote: 2010/8/19 Eric Blake ebl...@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):

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

2010-08-18 Thread Eric Blake
* 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