[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v3 25/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/util/*



On 20.05.2013 13:07, Ján Tomko wrote:
> On 05/03/2013 04:53 PM, Michal Privoznik wrote:
>>  32 files changed, 356 insertions(+), 567 deletions(-)
> 
> These functions returned 0 on success before and will need to be adjusted
> since VIR_STRDUP returns 1 on a successful copy now.

I don't think so, as long as all callers check for error correctly:

    if (func() < 0)
        goto error;

Which all callers of these functions do.

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]