Re: [libvirt] [PATCH 05/30] test: Remove virConnectPtr from testError

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

 



On 04/04/2010 11:36 AM, Matthias Bolte wrote:
> ---
>  src/test/test_driver.c |  343 ++++++++++++++++++++++++------------------------
>  1 files changed, 169 insertions(+), 174 deletions(-)
> 
> diff --git a/src/test/test_driver.c b/src/test/test_driver.c
> index 105f825..a63005d 100644
> --- a/src/test/test_driver.c
> +++ b/src/test/test_driver.c
> @@ -115,9 +115,9 @@ static const virNodeInfo defaultNodeInfo = {
>  };
>  
>  
> -#define testError(conn, code, ...)                                \
> -        virReportErrorHelper(conn, VIR_FROM_TEST, code, __FILE__, \
> -                               __FUNCTION__, __LINE__, __VA_ARGS__)
> +#define testError(code, ...)                                      \
> +        virReportErrorHelper(NULL, VIR_FROM_TEST, code, __FILE__, \
> +                             __FUNCTION__, __LINE__, __VA_ARGS__)

ACK, and the rest of the patch is mechanical fallout.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]