Overview
Comment: | OFHostAddressResolver: More consistent exceptions |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
77e3fa54bca486a56424e5fe23f69785 |
User & Date: | js on 2020-01-19 13:36:19 |
Other Links: | manifest | tags |
Context
2020-01-19
| ||
15:35 | runtime: Add tlskey.m to SRCS_THREADS check-in: e5be33dfc3 user: js tags: trunk | |
13:36 | OFHostAddressResolver: More consistent exceptions check-in: 77e3fa54bc user: js tags: trunk | |
2020-01-16
| ||
01:23 | Fix compilation on MorphOS check-in: 7f83956d3e user: js tags: trunk | |
Changes
Modified src/OFHostAddressResolver.m from [09bfdc3e21] to [8bdb78d119].
︙ | ︙ | |||
237 238 239 240 241 242 243 244 245 246 247 248 249 250 | return; [_addresses makeImmutable]; if (_addresses.count == 0) { [_addresses release]; _addresses = nil; if (exception == nil) exception = [OFResolveHostFailedException exceptionWithHost: _host addressFamily: _addressFamily error: OF_DNS_RESOLVER_ERROR_NO_RESULT]; } else | > > > > > > > | 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | return; [_addresses makeImmutable]; if (_addresses.count == 0) { [_addresses release]; _addresses = nil; if ([exception isKindOfClass: [OFDNSQueryFailedException class]]) exception = [OFResolveHostFailedException exceptionWithHost: _host addressFamily: _addressFamily error: [exception error]]; if (exception == nil) exception = [OFResolveHostFailedException exceptionWithHost: _host addressFamily: _addressFamily error: OF_DNS_RESOLVER_ERROR_NO_RESULT]; } else |
︙ | ︙ |