Revision c11a78e6 som/ChunkTrading/chunk_delivery.c
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