[libvirt] [PATCH 18/30] Remove virConnectPtr from virLibConnError
Matthias Bolte
matthias.bolte at googlemail.com
Tue Apr 6 00:21:11 UTC 2010
2010/4/5 Eric Blake <eblake at redhat.com>:
> On 04/04/2010 11:36 AM, Matthias Bolte wrote:
>> ---
>> src/datatypes.c | 101 ++++++++++++++++++++++++++++---------------------------
>> 1 files changed, 51 insertions(+), 50 deletions(-)
>>
>> diff --git a/src/datatypes.c b/src/datatypes.c
>> index a361da6..ca20abf 100644
>> --- a/src/datatypes.c
>> +++ b/src/datatypes.c
>> @@ -31,8 +31,8 @@
>>
>> #define VIR_FROM_THIS VIR_FROM_NONE
>>
>> -#define virLibConnError(conn, code, ...) \
>> - virReportErrorHelper(conn, VIR_FROM_THIS, code, __FILE__, \
>> +#define virLibConnError(code, ...) \
>> + virReportErrorHelper(NULL, VIR_FROM_THIS, code, __FILE__, \
>> __FUNCTION__, __LINE__, __VA_ARGS__)
>
> ACK, and the rest of the patch is mechanical fallout.
>
Thanks, pushed.
Matthias
More information about the libvir-list
mailing list