diff options
Diffstat (limited to 'src/types/url.nim')
-rw-r--r-- | src/types/url.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/url.nim b/src/types/url.nim index 562ec31b..1ded3d36 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -196,7 +196,7 @@ func parseIpv4(input: string): Option[uint32] = for i in low(parts)..high(parts): let part = parts[i] let num = parseIpv4Number(part) - if num < 0: + if num < 0: return none(uint32) if num > 255: if i != high(parts): |