aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-05 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-05 20:20:20 +0100
commitf4b6dd6f56975101a8af8e428ec9fa45aa338e00 (patch)
treef9773421e27c5e0240e7e6fb0f299c0fa9dcd6b9 /c_hardflip.go
parentlitems is necessary (diff)
downloadhardflip-f4b6dd6f56975101a8af8e428ec9fa45aa338e00.tar.gz
hardflip-f4b6dd6f56975101a8af8e428ec9fa45aa338e00.tar.bz2
hardflip-f4b6dd6f56975101a8af8e428ec9fa45aa338e00.tar.xz
hardflip-f4b6dd6f56975101a8af8e428ec9fa45aa338e00.tar.zst
hardflip-f4b6dd6f56975101a8af8e428ec9fa45aa338e00.zip
this is gonna be long
Diffstat (limited to 'c_hardflip.go')
-rw-r--r--c_hardflip.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index b6e77a6..b99b418 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -97,7 +97,8 @@ func main() {
// TODO: no ldirs just hosts raw hosts
data_dir := c_get_data_dir()
opts := HardOpts{true, true, false}
- litems, ldirs := c_load_data_dir(data_dir, opts)
+ ldirs := c_load_data_dir(data_dir, opts)
+ litems := c_load_litems(ldirs)
data := HardData{
litems,
ldirs,
@@ -106,7 +107,6 @@ func main() {
data_dir,
nil,
}
- c_fill_litems()
c_reset_ptr(&data)
// for ptr = ldirs.head; ptr != nil ; ptr = ptr.next {