]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
conf: fix a wrong comment in virSocketAddrNumericFamily()
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Wed, 15 Oct 2014 07:50:09 +0000 (15:50 +0800)
committerJán Tomko <jtomko@redhat.com>
Wed, 15 Oct 2014 08:11:38 +0000 (10:11 +0200)
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
src/util/virsocketaddr.c

index a19e3afcccc53af1430ca81278082dcb9c810038..8c9f05fa5b75b7d053401fbe95f2e57facdb9faa 100644 (file)
@@ -859,8 +859,7 @@ virSocketAddrGetIpPrefix(const virSocketAddr *address,
  * virSocketAddrNumericFamily:
  * @address: address to check
  *
- * Check if passed address is an IP address in numeric format. and
- * return the address family, otherwise return 0.
+ * Check if passed address is an IP address in numeric format.
  *
  * Returns: AF_INET or AF_INET6 if @address is an numeric IP address,
  *          -1 otherwise.