Revision a4f059a8

View differences:

som/PeerSet/Makefile
6 6
CFLAGS += -Wno-pointer-sign 
7 7
CFLAGS += -g
8 8

  
9
CPPFLAGS = -I$(BASE)/include
9
CPPFLAGS = -I$(BASE)/include -I..
10 10

  
11 11
OBJS = peerset_ops.o
12 12

  
som/PeerSet/peerset_ops.c
4 4
#include "peerset_private.h"
5 5
#include "peer.h"
6 6
#include "peerset.h"
7
#include "net_helper.h"
7 8

  
8 9
#define DEFAULT_SIZE_INCREMENT 32
9 10

  
......
79 80
  int i;
80 81

  
81 82
  for (i = 0; i < h->n_elements; i++) {
82
    if (h->elements[i].id == id) {		//@TODO: check if this comparision is enough or not
83
    if (nodeid_equal(h->elements[i].id, id)) {
83 84
      return i;
84 85
    }
85 86
  }

Also available in: Unified diff