From ff6a70288b154754f11d2f3af9d0d7b4630faa58 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 4 Mar 2016 03:00:02 -0500 Subject: [PATCH] Fix an incorrect assertion --- limelight-common/ControlStream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limelight-common/ControlStream.c b/limelight-common/ControlStream.c index 118517b..8228658 100644 --- a/limelight-common/ControlStream.c +++ b/limelight-common/ControlStream.c @@ -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) {