Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the now useless 'cleanup' parameter of routing_get_route_and_latency
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 15 Nov 2011 01:35:50 +0000 (02:35 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 15 Nov 2011 01:35:50 +0000 (02:35 +0100)
commit85b02668e44e45559b9fc8474cbb81c7e6b3ae74
tree3ecf683edc4501027c2f3962beffe5649f162024
parentbdc99dddb4082e9c50525e5f7da24279cfd14c9f
kill the now useless 'cleanup' parameter of routing_get_route_and_latency

Instead, if route == NULL we won't bother collecting the route, so
freeing is useless.
If *route == NULL, we create a short-lived dynar (equivalent to the
result of having cleanup=1 previously
else, we fill that route without messing with it
src/include/surf/surf.h
src/instr/instr_interface.c
src/instr/instr_routing.c
src/surf/network.c
src/surf/network_im.c
src/surf/surf_private.h
src/surf/surf_routing.c
src/surf/surf_routing_dijkstra.c
src/surf/surf_routing_floyd.c
src/surf/workstation_ptask_L07.c
teshsuite/simdag/platforms/flatifier.c