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

Re: [libvirt] [PATCH 6/7] util: Create common error path for invalid object



On Fri, Jul 28, 2017 at 12:39:00PM -0400, John Ferlan wrote:
> If virObjectIsClass fails "internally" to virobject.c, create a
> macro to generate the VIR_WARN describing what the problem is.
> Also improve the checks and message a bit to indicate which was
> the failure - whether the obj was NULL or just not the right class
> 
> Signed-off-by: John Ferlan <jferlan redhat com>
> ---
>  src/util/virobject.c | 25 +++++++++++++------------
>  1 file changed, 13 insertions(+), 12 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina redhat com>

Attachment: signature.asc
Description: Digital signature


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