mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix an incorrect assertion
This commit is contained in:
parent
ef3c33c5b0
commit
ff6a70288b
@ -257,7 +257,7 @@ static int sendMessageEnet(short ptype, short paylen, const void* payload) {
|
||||
ENetPacket* enetPacket;
|
||||
ENetEvent event;
|
||||
|
||||
LC_ASSERT(ServerMajorVersion > 5);
|
||||
LC_ASSERT(ServerMajorVersion >= 5);
|
||||
|
||||
packet = malloc(sizeof(*packet) + paylen);
|
||||
if (packet == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user