Re: [Patch]Fix bugs of Sheepdog storage driver

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

 



On Fri, Feb 8, 2013 at 1:57 PM, Osier Yang <jyang@xxxxxxxxxx> wrote:
[...]
> That's why I said in previous replyment "initialize ret", I mean
> this (see the top of the function):
>
>     int ret = -1;
>
> And with setting "ret" to 0 before cleanup:
>
>     ret = 0;
> cleanup:
>     virCommandFree(cmd);
>     return ret;
>

Okay, it looks well for me. I will give another patch. Thanks for
your help ;-)

-- 
Thanks
Harry Wei

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]