Possible solve to #2 : bugfix in src/map.c get_rnode_block()
When there were a link, returned e was too big, leading in wrong rstart argument for the next call.
This commit is contained in:
parent
895bab99c6
commit
6b0583b848
1 changed files with 4 additions and 0 deletions
|
|
@ -484,6 +484,10 @@ get_rnode_block(int *map, map_node * node, map_rnode * rblock, int rstart)
|
|||
|
||||
ints_host_to_network(&rblock[e + rstart], map_rnode_iinfo);
|
||||
}
|
||||
//TODO : modify the function header or copy its body into map_get_rblock
|
||||
if(node->links) {
|
||||
e--;
|
||||
}
|
||||
|
||||
return e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue