diff options
author | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-18 20:20:20 +0100 |
commit | b5ca8f3cc622c80ec20e3a115adb9d47d9983f75 (patch) | |
tree | c76f18721e3754b3cfaf500d40c48d1bc74236f0 /c_lhosts.go | |
parent | up (diff) | |
download | hardflip-b5ca8f3cc622c80ec20e3a115adb9d47d9983f75.tar.gz hardflip-b5ca8f3cc622c80ec20e3a115adb9d47d9983f75.tar.bz2 hardflip-b5ca8f3cc622c80ec20e3a115adb9d47d9983f75.tar.xz hardflip-b5ca8f3cc622c80ec20e3a115adb9d47d9983f75.tar.zst hardflip-b5ca8f3cc622c80ec20e3a115adb9d47d9983f75.zip |
cool
Diffstat (limited to 'c_lhosts.go')
-rw-r--r-- | c_lhosts.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |