diff options
Diffstat (limited to '')
-rw-r--r-- | c_litems.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c_litems.go b/c_litems.go index 05ffbe2..5b211fb 100644 --- a/c_litems.go +++ b/c_litems.go @@ -68,9 +68,9 @@ func (litems *ItemsList) add_back(node *ItemsNode) { return } curr := litems.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 litems.last = curr.next |