diff options
author | Joe <rbo@gmx.us> | 2023-12-29 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-29 20:20:20 +0100 |
commit | fde340dda9ded520959d7d431757d5654241c60c (patch) | |
tree | 4795f5f7630828e5f0c331a4887e26fd8fd8f3b7 /c_lhosts.go | |
parent | >>>>>>>>>>>>>>>> revert here if needed (diff) | |
download | hardflip-fde340dda9ded520959d7d431757d5654241c60c.tar.gz hardflip-fde340dda9ded520959d7d431757d5654241c60c.tar.bz2 hardflip-fde340dda9ded520959d7d431757d5654241c60c.tar.xz hardflip-fde340dda9ded520959d7d431757d5654241c60c.tar.zst hardflip-fde340dda9ded520959d7d431757d5654241c60c.zip |
cleaner
Diffstat (limited to '')
-rw-r--r-- | c_lhosts.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c_lhosts.go b/c_lhosts.go index fe8f7a0..46ba85c 100644 --- a/c_lhosts.go +++ b/c_lhosts.go @@ -89,9 +89,9 @@ func (lhost *HostList) add_back(node *HostNode) { return } curr := lhost.last - for curr.next != nil { - curr = curr.next - } + // for curr.next != nil { + // curr = curr.next + // } new_node.ID = curr.ID + 1 curr.next = new_node lhost.last = curr.next |