diff options
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 |