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

Re: [libvirt] [PATCH 20/30] Remove virConnectPtr from eventReportError



2010/4/5 Eric Blake <eblake redhat com>:
> On 04/04/2010 11:36 AM, Matthias Bolte wrote:
>> ---
>>  src/conf/domain_event.c |   16 ++++++++--------
>>  1 files changed, 8 insertions(+), 8 deletions(-)
>>
>> diff --git a/src/conf/domain_event.c b/src/conf/domain_event.c
>> index 41c70fc..fac5e49 100644
>> --- a/src/conf/domain_event.c
>> +++ b/src/conf/domain_event.c
>> @@ -31,8 +31,8 @@
>>
>>  #define VIR_FROM_THIS VIR_FROM_NONE
>>
>> -#define eventReportError(conn, code, ...)                           \
>> -    virReportErrorHelper(conn, VIR_FROM_THIS, code, __FILE__,       \
>> +#define eventReportError(code, ...)                                 \
>> +    virReportErrorHelper(NULL, VIR_FROM_THIS, code, __FILE__,       \
>>                           __FUNCTION__, __LINE__, __VA_ARGS__)
>
> ACK, and the rest of this patch is mechanical fallout.
>

Thanks, pushed.

Matthias


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