diff options
author | Joe <rbo@gmx.us> | 2024-01-09 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-09 20:20:20 +0100 |
commit | 1b348ade03ecf708c13a37f353ac1533f7c0d747 (patch) | |
tree | 6b824ba4eb790cba11e8c45813b696a0cfca8ccd /c_lhosts.go | |
parent | folding visually (diff) | |
download | hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.gz hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.bz2 hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.xz hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.tar.zst hardflip-1b348ade03ecf708c13a37f353ac1533f7c0d747.zip |
folding functionally
Diffstat (limited to 'c_lhosts.go')
-rw-r--r-- | c_lhosts.go | 11 |
1 files changed, 1 insertions, 10 deletions
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 -} |