From 1b348ade03ecf708c13a37f353ac1533f7c0d747 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 9 Jan 2024 20:20:20 +0100 Subject: folding functionally --- c_lhosts.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'c_lhosts.go') diff --git a/c_lhosts.go b/c_lhosts.go index 80fbdbc..691625f 100644 --- a/c_lhosts.go +++ b/c_lhosts.go @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/c_lhosts.go - * Tue Jan 09 12:07:53 2024 + * Tue Jan 09 12:59:11 2024 * Joe * * the hosts linked list @@ -166,12 +166,3 @@ func (host *HostNode) protocol_str() string { default: return "" } } - -func (host *HostNode) folded_parents() bool { - for ptr := host.Parent; ptr.Parent != nil; ptr = ptr.Parent { - if ptr.Folded == true { - return true - } - } - return false -} -- cgit v1.2.3