Revision 4123e0f7 overlay.c

View differences:

overlay.c
217 217
      for(c = 0; c < *neigh_size; c++)
218 218
      {
219 219
	      (peers[n].neighbour_prob)[c] = 1.0/(*neigh_size);
220
	//fprintf(stderr, "[DEBUG]: loading prob for peer %d -> %f\n", peers[n].id, (peers[n].neighbour_prob)[c]);
220
		//fprintf(stderr, "[DEBUG]: loading prob for peer %d (%d of %d) -> %f\n", peers[n].id, c, *neigh_size, (peers[n].neighbour_prob)[c]);
221 221
      }
222 222
      peers[n].neigh_size = *neigh_size;
223 223
    }

Also available in: Unified diff