diff options
author | Joe <rbo@gmx.us> | 2023-12-21 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-21 20:20:20 +0100 |
commit | 08430a42aa1cf9eff49b8015329ef8a112a5d0e5 (patch) | |
tree | 0840bc47a042b8c46b04c9caac3bcd85171051a3 /c_init.go | |
parent | fix (diff) | |
download | hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.gz hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.bz2 hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.xz hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.zst hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.zip |
tmp
Diffstat (limited to '')
-rw-r--r-- | c_init.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -79,8 +79,9 @@ func c_recurse_data_dir(dir string, root string, lhost *HostList) { } } -func c_load_data_dir(dir string) *HostList { +func c_load_data_dir(dir string) (*HostList, *DirsList) { lhost := HostList{} + ldirs := DirsList{} c_recurse_data_dir("", dir + "/", &lhost) - return &lhost + return &lhost, &ldirs } |