[cvs-nhc98] With recent fixes for when Hidden/Forward chains are gener
Malcolm Wallace
malcolm@sparud.net
Fri, 17 May 2002 16:28:55 +0200 (CEST)
malcolm: Fri May 17 16:28:55 CEST 2002
Update of /usr/src/master/nhc/src/hat/tools
In directory hinken:/tmp/cvs-serv28588
Modified Files:
artutils.c artutils.h
Log Message:
With recent fixes for when Hidden/Forward chains are generated,
getResult() could fall into an infinite loop caused by a cycle in
the result chain. The fix is to remember the most recent Hidden node
encountered, and if we trip over it again, stop the cycle and return
the Hidden.