Differences From Artifact [fef90630f2]:
- File src/OFDNSQuery.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 2572) [annotate] [blame] [check-ins using] [more...]
To Artifact [7b9ce87bc6]:
- File
src/OFDNSQuery.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: 2577) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
89 90 91 92 93 94 95 | return false; if (query->_recordType != _recordType) return false; return true; } | | | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | return false; if (query->_recordType != _recordType) 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, _DNSClass); OF_HASH_ADD(hash, _recordType); |
︙ | ︙ |