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

Re: [libvirt] [PATCH] Implement forgotten backend of virInterfaceIsActive()



On 04/14/2010 06:12 AM, Daniel P. Berrange wrote:
This causes it to return a success code in the event of either of
the cleanup paths being taken. It needs to be a tri-state return
value of  -1 (error), 0 (inactive), 1  (active)

Ah, yes. I see now that all the vir*Is<whatever>() functions that have a name implying a boolean return, actually behave as you've described. I adjusted this one accordingly, and pushed the result.


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