aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Uri.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Uri.cpp b/src/Uri.cpp
index fef7fb6..e2448bb 100644
--- a/src/Uri.cpp
+++ b/src/Uri.cpp
@@ -258,10 +258,10 @@ namespace {
state = ValidationState::COLON_BUT_NO_GROUPS_YET;
} else if (DIGIT.Contains(c)) {
potentialIpv4AddressStart = position;
- ++numDigits = 1;
+ numDigits = 1;
state = ValidationState::IN_GROUP_COULD_BE_IPV4;
} else if (HEXDIG.Contains(c)) {
- ++numDigits = 1;
+ numDigits = 1;
state = ValidationState::IN_GROUP_NOT_IPV4;
} else {
return false;