aboutsummaryrefslogtreecommitdiffstats
path: root/c_ldirs.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_ldirs.go')
-rw-r--r--c_ldirs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/c_ldirs.go b/c_ldirs.go
index be1a225..688c119 100644
--- a/c_ldirs.go
+++ b/c_ldirs.go
@@ -163,6 +163,8 @@ func (dir *DirsNode) count_elements(skip_folds bool) int {
for ptr := dir.next; ptr != nil && ptr.Depth > dir.Depth; ptr = ptr.next {
if skip_folds == true && ptr.Folded == true {
items += 1
+ // HACK: key to the map is the key
+ // TODO: fix you shit
} else {
items += ptr.count_hosts() + 1
}