conf: fix a wrong comment in virSocketAddrNumericFamily()

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
This commit is contained in:
Chen Fan 2014-10-15 15:50:09 +08:00 committed by Ján Tomko
parent 5e0561e115
commit bcf54e600f

View File

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