From ee6446a624d962afc6d1bc8131672f5669adc8bc Mon Sep 17 00:00:00 2001 From: modeco80 Date: Sun, 10 Mar 2024 06:52:14 -0400 Subject: [PATCH] oops --- src/DirtySockClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DirtySockClient.cpp b/src/DirtySockClient.cpp index 553bff8..3a5b7ff 100644 --- a/src/DirtySockClient.cpp +++ b/src/DirtySockClient.cpp @@ -29,7 +29,7 @@ namespace ls { try { co_await asio::async_read(stream, asio::buffer(&header, sizeof(header)), asio::deferred); - // Sanity check. I don't expect game payloa + // Sanity check. I don't expect game payloads to ever reach this large, but who knows. if(header.payloadSize > MAX_PAYLOAD_SIZE) { logger->error("WOAH! Message size {} MB larger than {}MB..", (static_cast(header.payloadSize) / 1024 / 1024), (static_cast(MAX_PAYLOAD_SIZE) / 1024 / 1024)); co_return nullptr;