We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec7f1a3 commit f97e7eeCopy full SHA for f97e7ee
1 file changed
src/network/leader.c
@@ -31,7 +31,7 @@ size_t single_part(size_t size, struct leader_resources *l_r) {
31
merge_free_block(blks);
32
if (!blks && blks->nb_blocks > 0) {
33
debug("ERROR not malloc blockS !!!", 0); //l_r->id);
34
- return 999;
+ return SIZE_MAX;
35
}
36
// Single Part
37
for (size_t i = 0; i < blks->nb_blocks; i++) {
@@ -79,7 +79,7 @@ size_t multiple_part(size_t size, struct leader_resources *l_r) {
79
80
81
82
83
84
// Multi - Parts
85
struct allocation *a = malloc(60 + sizeof(struct allocation));
0 commit comments