summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-07-09 15:39:51 -0300
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2023-07-09 16:04:33 -0300
commit3c36d76be739b6975fac4e6adee3b91002056db1 (patch)
tree82f26ce27c21cca23367b3b40849e710216ab8b2 /src/util.c
parent7a388dad85152a203033c14fee3c64607301865a (diff)
server.c: a basic multithreaded server to handle connectionsHEADmain
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index e6b7977..616fd8a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -8,7 +8,7 @@
int vasprintf(char **dest, const char *fmt, va_list ap) {
assert(*dest == NULL);
- char *buf = NULL; size_t len, size;
+ char *buf = NULL; ssize_t len, size;
va_list ap2;
size = 4096;