aboutsummaryrefslogtreecommitdiff
path: root/src/communication.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-07-18 18:40:57 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-07-18 18:40:57 -0300
commit638244fd078fe91971e57b1d06e4499268d99c42 (patch)
treec98efd5094b8065946250ee765c65fba7bc01b03 /src/communication.cc
parent6d498fe17dab48cfd8fc8a4da62a573b799e10ba (diff)
downloadgame-638244fd078fe91971e57b1d06e4499268d99c42.tar.gz
game-638244fd078fe91971e57b1d06e4499268d99c42.zip
small cleanup + fix sigaction flags
Diffstat (limited to 'src/communication.cc')
-rw-r--r--src/communication.cc4
1 files changed, 2 insertions, 2 deletions
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;