diff options
author | Joe <rbo@gmx.us> | 2024-01-05 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-05 20:20:20 +0100 |
commit | 6b52e3051cd00fa39e8a7504e41a931cc874cb0e (patch) | |
tree | de1079d3ed60fcbd3fbd3de8ff1535e9455d7c4d /c_ldirs.go | |
parent | turns out we need litems in the end (diff) | |
download | hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.gz hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.bz2 hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.xz hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.tar.zst hardflip-6b52e3051cd00fa39e8a7504e41a931cc874cb0e.zip |
fuck all of this hosts only
Diffstat (limited to 'c_ldirs.go')
-rw-r--r-- | c_ldirs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,13 +68,13 @@ type DirsList struct { // adds a directory node to the list func (ldirs *DirsList) add_back(node *DirsNode) { - node.ID = global_id if ldirs.head == nil { ldirs.head = node ldirs.last = ldirs.head return } last := ldirs.last + node.ID = last.ID + 1 last.next = node ldirs.last = last.next } |