aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-07 16:25:22 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-07 16:25:22 -0700
commit3b76f81d0c9eb62617fbf40f2bd92ac7b624002f (patch)
treec783a9df9b471f2c5c94a2aa92e9e70497f91fbe /src
parent404513ddb356f5e803b0102d408d02eb031cf13f (diff)
Fix misspelling
Diffstat (limited to 'src')
-rw-r--r--src/Uri.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Uri.cpp b/src/Uri.cpp
index 9bd8c4a..a556276 100644
--- a/src/Uri.cpp
+++ b/src/Uri.cpp
@@ -182,7 +182,7 @@ namespace {
* An indication of whether or not the given address
* is a valid IPv6 address is returned.
*/
- bool ValidateIpv4Adress(const std::string& address) {
+ bool ValidateIpv4Address(const std::string& address) {
size_t numGroups = 0;
size_t state = 0;
std::string octetBuffer;
@@ -377,7 +377,7 @@ namespace {
return false;
}
if (ipv4AddressEncountered) {
- if (!ValidateIpv4Adress(address.substr(potentialIpv4AddressStart))) {
+ if (!ValidateIpv4Address(address.substr(potentialIpv4AddressStart))) {
return false;
}
numGroups += 2;