]> git.pond.sub.org Git - empserver/commit
Fix when best_path() prints A* performance statistics
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 19 Feb 2011 12:50:10 +0000 (13:50 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 12 Apr 2011 19:40:08 +0000 (21:40 +0200)
commit0385c67a8fce0c17c341364cc340428de08c8b45
tree3d2bdf29194893fe3e183fb15f9719cb89522c8d
parent2797e58c20fb60a286cb016540e0dc1a190e5356
Fix when best_path() prints A* performance statistics

Print them when A* actually runs, not when best_path() finds a path.
Statistics for unsuccessful runs were lost, and old statistics were
printed for path cache hits.
src/lib/common/path.c