aboutsummaryrefslogtreecommitdiffstats
path: root/init/util.c
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-11-19 19:13:40 -0600
committerturret <turret@duck.com>2023-11-19 19:13:40 -0600
commit40bff7788865b519b79b1ee7eb9851914010ffb4 (patch)
treeb11af475d4eb933acb2d610c555d6715f76def4e /init/util.c
parenta8b2282eb88f24c3c5f461e1557fa2cf76ebc251 (diff)
downloaddiscord-bot-skeleton-40bff7788865b519b79b1ee7eb9851914010ffb4.tar.gz
discord-bot-skeleton-40bff7788865b519b79b1ee7eb9851914010ffb4.tar.bz2
discord-bot-skeleton-40bff7788865b519b79b1ee7eb9851914010ffb4.zip
misc: minor bugs and comments
sprinkle a little bit of commenting throughout the codebase. hopefully i dont regret what i've written - clone: bottom of stack is passed through - print: write newline at end of message - initcall: functions return void type very basic net startup. hopefully i dont regret implementing the websocket protocol myself in a language as holy as C.
Diffstat (limited to 'init/util.c')
-rw-r--r--init/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/util.c b/init/util.c
index 1a08234..4411632 100644
--- a/init/util.c
+++ b/init/util.c
@@ -3,6 +3,7 @@
#include <stdlib.h>
#include <string.h>
+/* thank you suckless team (see libsl) */
void die(const char *fmt, ...)
{
va_list ap;