[libvirt] [PATCH] conf: Fix virNetworkAssignDef's comment.

lawrance jing lawrancejing at gmail.com
Tue Sep 24 07:57:19 UTC 2013


I changed virNetworkAssignDef's comment,however what the patch show is
"-333,7 +333,7 @@ virNetworkObjAssignDef". Please give me a hint, thank you.


2013/9/24 Osier Yang <jyang at redhat.com>

> On 24/09/13 10:05, lawrancejing wrote:
>
>> ---
>>   src/conf/network_conf.c |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c
>> index 6968e25..c877a6d 100644
>> --- a/src/conf/network_conf.c
>> +++ b/src/conf/network_conf.c
>> @@ -333,7 +333,7 @@ virNetworkObjAssignDef(**virNetworkObjPtr network,
>>    * def. For an existing network, use "live" and current state of the
>>    * network to determine which to replace.
>>    *
>> - * Returns -1 on failure, 0 on success.
>> + * Returns NULL on error, virNetworkObjPtr on success.
>>
>
> NACK, the obvious thing is function returns an integer.
>
> Osier
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130924/19015148/attachment-0001.htm>


More information about the libvir-list mailing list