Re: [libvirt] [PATCH 1/9] util: make return value of virUUIDFormat and virMacAddrFormat useful

2012-08-05 Thread Doug Goldstein
On Aug 5, 2012, at 12:16 AM, Laine Stump la...@laine.org wrote: Both of these functions returned void, but it's convenient for them to return a const char* of the char* that is passed in. This was you can call the function and use the result in the same expression/arg. --- src/util/uuid.c

Re: [libvirt] [PATCH 1/9] util: make return value of virUUIDFormat and virMacAddrFormat useful

2012-08-05 Thread Laine Stump
On 08/05/2012 12:24 PM, Doug Goldstein wrote: On Aug 5, 2012, at 12:16 AM, Laine Stump la...@laine.org wrote: Both of these functions returned void, but it's convenient for them to return a const char* of the char* that is passed in. This was you can call the function and use the result in

[libvirt] [PATCH 1/9] util: make return value of virUUIDFormat and virMacAddrFormat useful

2012-08-04 Thread Laine Stump
Both of these functions returned void, but it's convenient for them to return a const char* of the char* that is passed in. This was you can call the function and use the result in the same expression/arg. --- src/util/uuid.c | 4 +++- src/util/uuid.h | 6 +++--- src/util/virmacaddr.c