diff options
Diffstat (limited to 'src/c_lhosts.go')
-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 +// } |