[libvirt] [PATCH 07/30] proxy: Remove virConnectPtr from virProxyError

Eric Blake eblake at redhat.com
Mon Apr 5 16:31:40 UTC 2010


On 04/04/2010 11:36 AM, Matthias Bolte wrote:
> ---
>  src/xen/proxy_internal.c |   92 ++++++++++++++++++++--------------------------
>  1 files changed, 40 insertions(+), 52 deletions(-)
> 
> diff --git a/src/xen/proxy_internal.c b/src/xen/proxy_internal.c
> index 36058bc..db209d1 100644
> --- a/src/xen/proxy_internal.c
> +++ b/src/xen/proxy_internal.c
> @@ -93,8 +93,8 @@ struct xenUnifiedDriver xenProxyDriver = {
>   *									*
>   ************************************************************************/
>  
> -#define virProxyError(conn, code, ...)                                     \
> -        virReportErrorHelper(conn, VIR_FROM_PROXY, code, __FILE__,         \
> +#define virProxyError(code, ...)                                           \
> +        virReportErrorHelper(NULL, VIR_FROM_PROXY, code, __FILE__,         \
>                                 __FUNCTION__, __LINE__, __VA_ARGS__)

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

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100405/a3a648c3/attachment-0001.sig>


More information about the libvir-list mailing list