diff options
author | joe <rbo@gmx.us> | 2025-08-26 19:24:18 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-08-26 19:24:18 +0200 |
commit | 93aed08e521c7d96d3c53f207fb650b449cdb12c (patch) | |
tree | d3bf429138004692a36a4a47df137093f1393fc2 /src/c_lhosts.go | |
parent | fixed (diff) | |
download | hardflip-93aed08e521c7d96d3c53f207fb650b449cdb12c.tar.gz hardflip-93aed08e521c7d96d3c53f207fb650b449cdb12c.tar.bz2 hardflip-93aed08e521c7d96d3c53f207fb650b449cdb12c.tar.xz hardflip-93aed08e521c7d96d3c53f207fb650b449cdb12c.tar.zst hardflip-93aed08e521c7d96d3c53f207fb650b449cdb12c.zip |
fixed all errs and some other things
Diffstat (limited to '')
-rw-r--r-- | src/c_lhosts.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/c_lhosts.go b/src/c_lhosts.go index 41964bd..e2fbd90 100644 --- a/src/c_lhosts.go +++ b/src/c_lhosts.go @@ -153,12 +153,12 @@ func (lhost *HostList) del(host *HostNode) { } } -func (lhost *HostList) count() int { - curr := lhost.head - var count int - - for count = 0; curr != nil; count++ { - curr = curr.next - } - return count -} +// func (lhost *HostList) count() int { +// curr := lhost.head +// var count int +// +// for count = 0; curr != nil; count++ { +// curr = curr.next +// } +// return count +// } |