[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 2/2] src/util/network.c: Fix typos in comments



---
 src/util/network.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/util/network.c b/src/util/network.c
index 8581cdc..abd866c 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -91,11 +91,11 @@ virSocketParseAddr(const char *val, virSocketAddrPtr addr, int hint) {
 /*
  * virSocketParseIpv4Addr:
  * @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
  *
- * 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
 virSocketParseIpv4Addr(const char *val, virSocketAddrPtr addr) {
@@ -105,11 +105,11 @@ virSocketParseIpv4Addr(const char *val, virSocketAddrPtr addr) {
 /*
  * virSocketParseIpv6Addr:
  * @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
  *
- * 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
 virSocketParseIpv6Addr(const char *val, virSocketAddrPtr addr) {
-- 
1.6.2.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]