diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-03 19:35:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-03 19:35:25 +0100 |
commit | 955de09c9e0e318642089fe63c4c1d44517e3ff8 (patch) | |
tree | 82e99b4f67464fa5c464eff9a7d6db5a40b8d669 /WireGuard/WireGuard/VPN/DNSResolver.swift | |
parent | Settings: limit size of logo (diff) | |
download | wireguard-apple-955de09c9e0e318642089fe63c4c1d44517e3ff8.tar.xz wireguard-apple-955de09c9e0e318642089fe63c4c1d44517e3ff8.zip |
Global: run through swiftlint
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/VPN/DNSResolver.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/VPN/DNSResolver.swift b/WireGuard/WireGuard/VPN/DNSResolver.swift index 4ceabdc..e750454 100644 --- a/WireGuard/WireGuard/VPN/DNSResolver.swift +++ b/WireGuard/WireGuard/VPN/DNSResolver.swift @@ -109,8 +109,8 @@ extension DNSResolver { // getaddrinfo succeeded let ipv4Buffer = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET_ADDRSTRLEN)) let ipv6Buffer = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN)) - var ipv4AddressString: String? = nil - var ipv6AddressString: String? = nil + var ipv4AddressString: String? + var ipv6AddressString: String? while (resultPointer != nil) { let result = resultPointer!.pointee resultPointer = result.ai_next |