]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: Make virConnectClose comply to apibuild.py expectations
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 22 Jun 2011 22:38:58 +0000 (00:38 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 23 Jun 2011 10:25:23 +0000 (12:25 +0200)
apibuild.py expects a sentence that starts with "Returns"
describing the return value of a function.

src/libvirt.c

index 63fe7ffee79b965bcb8e2608171b36cba592236b..69e0ea89bacc3cb1ea025521e2efc71fc92baef9 100644 (file)
@@ -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
  * (positive implies that some other call still has a reference open,
  * 0 implies that no references remain and the connection is closed),
  * or -1 on failure.  It is possible for the last virConnectClose to