Differences From Artifact [2d2248bdf2]:
- File src/OFDNSResponse.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 3871) [annotate] [blame] [check-ins using] [more...]
To Artifact [f58f953bdc]:
- File
src/OFDNSResponse.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 3876) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
98 99 100 101 102 103 104 | if (response->_additionalRecords != _additionalRecords && ![response->_additionalRecords isEqual: _additionalRecords]) return false; return true; } | | | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | if (response->_additionalRecords != _additionalRecords && ![response->_additionalRecords isEqual: _additionalRecords]) return false; return true; } - (unsigned long)hash { uint32_t hash; OF_HASH_INIT(hash); OF_HASH_ADD_HASH(hash, _domainName.hash); OF_HASH_ADD_HASH(hash, [_answerRecords hash]); OF_HASH_ADD_HASH(hash, [_authorityRecords hash]); |
︙ | ︙ |