AC-FuSa-Tools / nav

navigate kernel database
GNU General Public License v2.0
3 stars 4 forks source link

Fix: issue #15 #16

Closed alessandrocarminati closed 1 year ago

alessandrocarminati commented 1 year ago

The loop inside the recursive navigate function is meant to explore all the successors of a given node. depthInc is needed to track which depth level has been reached, but the depth level is about the successor, not the current node. Thus, it needs to be reset on each iteration.

Signed-off-by: Alessandro Carminati alessandro.carminati@gmail.com