mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix test inet_pton call in test_arpa_inet
This commit is contained in:
@@ -21,7 +21,7 @@ test_arpa_inet :: proc(t: ^testing.T) {
|
|||||||
dst: [posix.INET6_ADDRSTRLEN]byte
|
dst: [posix.INET6_ADDRSTRLEN]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
res := posix.inet_pton(af, src, &addr, size_of(addr))
|
res := posix.inet_pton(af, src, &addr)
|
||||||
testing.expect_value(t, res, expect, loc)
|
testing.expect_value(t, res, expect, loc)
|
||||||
|
|
||||||
if expect == .SUCCESS {
|
if expect == .SUCCESS {
|
||||||
|
|||||||
Reference in New Issue
Block a user