From 93aed08e521c7d96d3c53f207fb650b449cdb12c Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 26 Aug 2025 19:24:18 +0200 Subject: fixed all errs and some other things --- src/c_lhosts.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/c_lhosts.go') 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 +// } -- cgit v1.2.3