From 3a0f6f7a061ec3a70e3259b18a79230efdc5fe08 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 23 Jul 2005 22:10:37 +0000 Subject: [PATCH] Bug fix with config load --- mvpclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mvpclient.c b/mvpclient.c index 95ef07b..f5b36fd 100644 --- a/mvpclient.c +++ b/mvpclient.c @@ -594,7 +594,7 @@ void MVPClient::testChannelSchedule(unsigned char* data, int length) fprintf(f, "ChannelID.ToString() = %s\n", tchid.ToString()); fprintf(f, "NumEvents() = %i\n", Schedule->NumEvents()); #else -// put the count at the end. +// put the count at the end. #endif thisChannel = Channels.GetByChannelID(tchid, true); if (thisChannel) @@ -620,7 +620,7 @@ void MVPClient::testChannelSchedule(unsigned char* data, int length) fprintf(f, "\n\n"); } #else -// This whole section needs rewriting to walk the list. +// This whole section needs rewriting to walk the list. event = Schedule->Events()->First(); while (event) { event = Schedule->Events()->Next(event); @@ -740,7 +740,7 @@ void MVPClient::processConfigLoad(unsigned char* buffer, int length) else { unsigned char sendBuffer[8]; - *(unsigned long*)&sendBuffer[0] = htonl(0); + *(unsigned long*)&sendBuffer[0] = htonl(4); *(unsigned long*)&sendBuffer[4] = htonl(0); tcp.sendPacket(sendBuffer, 8); -- 2.39.2