Revision 7180e574 som/PeerSet/peerset_ops.c
som/PeerSet/peerset_ops.c | ||
---|---|---|
1 | 1 |
#include <stdlib.h> |
2 | 2 |
#include <stdint.h> |
3 | 3 |
#include <string.h> |
4 |
#include <limits.h> |
|
4 | 5 |
|
5 | 6 |
#include "peerset_private.h" |
6 | 7 |
#include "peer.h" |
... | ... | |
52 | 53 |
e->id = nodeid_dup(id); |
53 | 54 |
e->bmap = chunkID_set_init(0); |
54 | 55 |
timerclear(&e->bmap_timestamp); |
56 |
e->cb_size = INT_MAX; |
|
55 | 57 |
|
56 | 58 |
return h->n_elements; |
57 | 59 |
} |
Also available in: Unified diff