Revision fe4dc798

View differences:

topology.c
237 237

  
238 238
  for (i = 0; i < bs_size; i++) {
239 239
    for (j = 0; j < as_size; j++) {
240
      if (bs[i] == as[j]) {
240
      if (nodeid_equal(bs[i], as[j])) {
241 241
        break;
242 242
      }
243 243
    }
......
255 255

  
256 256
static bool nidset_find(size_t *i, const struct nodeID **ids, size_t ids_size, const struct nodeID *id) {
257 257
  for (*i = 0; *i < ids_size; (*i)++) {
258
    if (ids[*i] == id) {
258
    if (nodeid_equal(ids[*i],id)) {
259 259
      return true;
260 260
    }
261 261
  }

Also available in: Unified diff