Revision 8de3cb39 chunk_signaling.c

View differences:

chunk_signaling.c
73 73
}
74 74

  
75 75
void accept_received(const struct nodeID *fromid, struct chunkID_set *cset, int max_deliver, uint16_t trans_id) {
76
  struct peer *from = nodeid_to_peer(fromid,0);   //verify that we have really offered, 0 at least garantees that we've known the peer before
76
  //TODO: verify if such a verification is needed
77
  //struct peer *from = nodeid_to_peer(fromid,0);   //verify that we have really offered, 0 at least garantees that we've known the peer before
78

  
77 79
  dprintf("The peer %s accepted our offer for %d chunks, max deliver %d.\n", node_addr(fromid), chunkID_set_size(cset), max_deliver);
78 80

  
79 81
  send_accepted_chunks(fromid, cset, max_deliver, trans_id);

Also available in: Unified diff