mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
correct newly found vets
This commit is contained in:
+2
-2
@@ -119,9 +119,9 @@ aton :: proc(address_and_maybe_port: string, family: Address_Family, allow_decim
|
||||
}
|
||||
|
||||
a: [4]u8 = ---
|
||||
for v, i in buf {
|
||||
for v, j in buf {
|
||||
if v > 255 { return {}, false }
|
||||
a[i] = u8(v)
|
||||
a[j] = u8(v)
|
||||
}
|
||||
return IP4_Address(a), true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user