Skip to content

Commit a47da0a

Browse files
committed
ktlint
1 parent 2363e26 commit a47da0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/net/HostResolverNative.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal actual object DefaultHostResolver : HostResolver {
2020
try {
2121
// Perform the DNS lookup
2222
val status = getaddrinfo(hostname, null, hints.ptr, result.ptr)
23-
check (status == 0) { "Failed to resolve host $hostname: ${gai_strerror(status)?.toKString()}" }
23+
check(status == 0) { "Failed to resolve host $hostname: ${gai_strerror(status)?.toKString()}" }
2424

2525
return generateSequence(result.value) { it.pointed.ai_next }
2626
.map { it.pointed.ai_addr!!.pointed.toIpAddr() }

0 commit comments

Comments
 (0)