diff --git a/lib/include/laika.h b/lib/include/laika.h index b859515..11131ed 100644 --- a/lib/include/laika.h +++ b/lib/include/laika.h @@ -10,8 +10,6 @@ #include "lconfig.h" -#define ARRAY_START 4 - #ifdef DEBUG # define LAIKA_DEBUG(...) printf("[~] " __VA_ARGS__); fflush(stdout); #else diff --git a/lib/src/lsocket.c b/lib/src/lsocket.c index 937c23f..22c9b95 100644 --- a/lib/src/lsocket.c +++ b/lib/src/lsocket.c @@ -44,10 +44,10 @@ void laikaS_initSocket(struct sLaika_socket *sock, pollEvent onPollIn, pollEvent sock->onPollOut = onPollOut; sock->uData = uData; sock->inBuf = NULL; - sock->inCap = ARRAY_START; + sock->inCap = 8; sock->inCount = 0; sock->outBuf = NULL; - sock->outCap = ARRAY_START; + sock->outCap = 8; sock->outCount = 0; sock->flipEndian = false; sock->setPollOut = false;