From b5ca8f3cc622c80ec20e3a115adb9d47d9983f75 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 18 Dec 2023 20:20:20 +0100 Subject: cool --- c_lhosts.go | 1 + 1 file changed, 1 insertion(+) (limited to 'c_lhosts.go') diff --git a/c_lhosts.go b/c_lhosts.go index db932f9..d197607 100644 --- a/c_lhosts.go +++ b/c_lhosts.go @@ -103,6 +103,7 @@ func (lhost *HostList) del(id uint64) { } } +// return the list node with the according id func (lhost *HostList) sel(id uint64) *HostNode { curr := lhost.head for curr.next != nil && curr.ID != id { -- cgit v1.2.3