From 638244fd078fe91971e57b1d06e4499268d99c42 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 18 Jul 2025 18:40:57 -0300 Subject: small cleanup + fix sigaction flags --- src/communication.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/communication.cc') diff --git a/src/communication.cc b/src/communication.cc index a2c4221..ffaa3a8 100644 --- a/src/communication.cc +++ b/src/communication.cc @@ -17,13 +17,13 @@ // NOTE(fusion): We seem to add this value of 48 every time `NetLoad` is called, // and I assume it is to account for IPv4 (20 bytes) and TCP (20 bytes) headers // although there are still 8 bytes on the table that I'm not sure where are -// comming from. +// coming from. #define PACKET_AVERAGE_SIZE_OVERHEAD 48 #define MAX_COMMUNICATION_THREADS 1100 #define COMMUNICATION_THREAD_STACK_SIZE ((int)KB(64)) -static int TERMINALVERSION[] = {770, 770, 770}; +static const int TERMINALVERSION[] = {770, 770, 770}; static int TCPSocket; static ThreadHandle AcceptorThread; static pid_t AcceptorThreadPID; -- cgit v1.2.3