[libvirt] [PATCH] docs: Make virConnectClose comply to apibuild.py expectations

Eric Blake eblake at redhat.com
Wed Jun 22 22:53:49 UTC 2011


On 06/22/2011 04:39 PM, Matthias Bolte wrote:
> apibuild.py expects a sentence that starts with "Returns"
> describing the return value of a function.
> ---
>  src/libvirt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/libvirt.c b/src/libvirt.c
> index 63fe7ff..69e0ea8 100644
> --- a/src/libvirt.c
> +++ b/src/libvirt.c
> @@ -1303,7 +1303,7 @@ error:
>   * matching virConnectClose, and all other references will be released
>   * after the corresponding operation completes.
>   *
> - * The return value is the number of remaining references on success
> + * Returns the number of remaining references on success

ACK, and sorry for missing that (I blame apybuild.py for not making it a
fatal problem when it can't find the info it wants).

-- 
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: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110622/3a0784c5/attachment-0001.sig>


More information about the libvir-list mailing list