提交 9899e08b 编写于 作者: M Matthew Booth 提交者: Daniel Veillard

Fix typo in network.c function comments

* src/util/network.c: fix a few typo
上级 37bc888b
...@@ -91,11 +91,11 @@ virSocketParseAddr(const char *val, virSocketAddrPtr addr, int hint) { ...@@ -91,11 +91,11 @@ virSocketParseAddr(const char *val, virSocketAddrPtr addr, int hint) {
/* /*
* virSocketParseIpv4Addr: * virSocketParseIpv4Addr:
* @val: an IPv4 numeric address * @val: an IPv4 numeric address
* @addr: the loacation to store the result * @addr: the location to store the result
* *
* Extract the address storage from an IPv4 numeric address * Extract the address storage from an IPv4 numeric address
* *
* Returns the lenght of the network address or -1 in case of error. * Returns the length of the network address or -1 in case of error.
*/ */
int int
virSocketParseIpv4Addr(const char *val, virSocketAddrPtr addr) { virSocketParseIpv4Addr(const char *val, virSocketAddrPtr addr) {
...@@ -105,11 +105,11 @@ virSocketParseIpv4Addr(const char *val, virSocketAddrPtr addr) { ...@@ -105,11 +105,11 @@ virSocketParseIpv4Addr(const char *val, virSocketAddrPtr addr) {
/* /*
* virSocketParseIpv6Addr: * virSocketParseIpv6Addr:
* @val: an IPv6 numeric address * @val: an IPv6 numeric address
* @addr: the loacation to store the result * @addr: the location to store the result
* *
* Extract the address storage from an IPv6 numeric address * Extract the address storage from an IPv6 numeric address
* *
* Returns the lenght of the network address or -1 in case of error. * Returns the length of the network address or -1 in case of error.
*/ */
int int
virSocketParseIpv6Addr(const char *val, virSocketAddrPtr addr) { virSocketParseIpv6Addr(const char *val, virSocketAddrPtr addr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册