summaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/net')
-rw-r--r--src/lib/net/address.c2
-rw-r--r--src/lib/net/address.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index ea6c29db9f..21794fb4fc 100644
--- a/src/lib/net/address.c
+++ b/src/lib/net/address.c
@@ -2126,7 +2126,7 @@ tor_addr_port_copy(tor_addr_port_t *dest,
memcpy(dest, source, sizeof(tor_addr_port_t));
}
-/** Return true if <b>string</b> represents a valid IPv4 adddress in
+/** Return true if <b>string</b> represents a valid IPv4 address in
* 'a.b.c.d' form.
*/
int
diff --git a/src/lib/net/address.h b/src/lib/net/address.h
index bc8ec7744f..4c79db69d2 100644
--- a/src/lib/net/address.h
+++ b/src/lib/net/address.h
@@ -224,7 +224,7 @@ tor_addr_eq_ipv4h(const tor_addr_t *a, uint32_t u)
#define TOR_ADDR_BUF_LEN 48
/** Length of a buffer containing an IP address along with a port number and
- * a seperating colon.
+ * a separating colon.
*
* This allows enough space for
* "[ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255]:12345",