1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-21 20:40:05 +00:00

removed unused macro

This commit is contained in:
CPunch 2022-05-03 15:54:42 -05:00
parent ead2f08c87
commit 67f404dac6
2 changed files with 2 additions and 4 deletions

View File

@ -10,8 +10,6 @@
#include "lconfig.h" #include "lconfig.h"
#define ARRAY_START 4
#ifdef DEBUG #ifdef DEBUG
# define LAIKA_DEBUG(...) printf("[~] " __VA_ARGS__); fflush(stdout); # define LAIKA_DEBUG(...) printf("[~] " __VA_ARGS__); fflush(stdout);
#else #else

View File

@ -44,10 +44,10 @@ void laikaS_initSocket(struct sLaika_socket *sock, pollEvent onPollIn, pollEvent
sock->onPollOut = onPollOut; sock->onPollOut = onPollOut;
sock->uData = uData; sock->uData = uData;
sock->inBuf = NULL; sock->inBuf = NULL;
sock->inCap = ARRAY_START; sock->inCap = 8;
sock->inCount = 0; sock->inCount = 0;
sock->outBuf = NULL; sock->outBuf = NULL;
sock->outCap = ARRAY_START; sock->outCap = 8;
sock->outCount = 0; sock->outCount = 0;
sock->flipEndian = false; sock->flipEndian = false;
sock->setPollOut = false; sock->setPollOut = false;