Commit graph

19 commits

Author SHA1 Message Date
5601945db1
move default config path to config.h 2024-02-11 22:37:03 +01:00
8081a8d302
refactor shit out of modfetch.c 2024-02-11 22:11:57 +01:00
7d62a8acc4
fix mod function name shadowing 2024-02-11 20:05:31 +01:00
c08e2398ab
nevermind I can't free getenv() Xddd 2024-02-11 19:53:51 +01:00
cca7224559
free strings after use 2024-02-11 19:50:44 +01:00
c013f078ab
use ~/.config if $XDG_CONFIG_HOME isn't present 2024-02-11 19:49:14 +01:00
53ff1074ef
make api versioning actually work 2024-02-11 19:37:41 +01:00
ac6c61e10a
module_name -> name 2024-02-10 14:51:50 +01:00
dfa4ea2f44
move to semver everywhere 2024-02-10 14:11:26 +01:00
24e2d04c68
motherfucking strncpy 2024-02-09 22:07:49 +01:00
76fd2153a9
nullterm after strncpy
great function thanks glibc
2024-02-09 15:46:33 +01:00
9ac418318a
nullterm ret in resolve_env_vars 2024-02-09 15:34:15 +01:00
170e69d096
free line if getline errors 2024-02-09 15:31:30 +01:00
771680ac17
very nice and calm comment about casting void* to function pointers 2024-02-09 15:15:44 +01:00
36b59a2e29
++ -> += 1 outside all loops to improve readability
I like it better now
2024-02-09 15:11:36 +01:00
21aefd281a
general memory and readability improvements 2024-02-09 15:10:13 +01:00
3704f16b53
fix crashing on empty line (Xd) 2024-02-09 13:54:29 +01:00
85eb489d7c
prevent 4KB memory leak 2024-02-09 12:23:17 +01:00
40f0e25f32
init 2024-02-09 12:05:06 +01:00