Revision c11a78e6

View differences:

include/trade_msg_ha.h
17 17
  * @param[in] c Chunk to send
18 18
  * @return 0 on success, <0 on error
19 19
  */
20
int sendChunk(struct nodeID *to, struct chunk *c);
20
int sendChunk(const struct nodeID *to, struct chunk *c);
21 21

  
22 22
/**
23 23
  * Init the Chunk trading stuff...
som/ChunkTrading/chunk_delivery.c
46 46

  
47 47
//TO CHECK AND CORRECT
48 48
//XXX Send data is in char while our buffer is in uint8
49
int sendChunk(struct nodeID *to, struct chunk *c){
49
int sendChunk(const struct nodeID *to, struct chunk *c){
50 50
    int buff_len;
51 51
    uint8_t *buff;
52 52
    int res;

Also available in: Unified diff