| 90 | } |
| 91 | |
| 92 | static bool FSameUuidNoNil(const unsigned char *a, const unsigned char *b) |
| 93 | { |
| 94 | unsigned char zeroCheck = 0; |
| 95 | for (int i = 0; i < UUID_BINARY_LEN; ++i) |
| 96 | { |
| 97 | if (a[i] != b[i]) |
| 98 | return false; |
| 99 | zeroCheck |= a[i]; |
| 100 | } |
| 101 | return (zeroCheck != 0); // if the UUID is nil then it is never equal |
| 102 | } |
| 103 | |
| 104 | static bool FSameHost(client *clientA, client *clientB) |
| 105 | { |
no outgoing calls
no test coverage detected