From ce66cca64b91b913d00db91763e48c7d33d34b05 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 26 Feb 2006 16:18:51 +0000 Subject: [PATCH] Fix for zero length timers list --- mvpclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvpclient.c b/mvpclient.c index dba85ac..38d06f1 100644 --- a/mvpclient.c +++ b/mvpclient.c @@ -1206,7 +1206,7 @@ int MVPClient::processGetTimers(UCHAR* buffer, int length) cTimer *timer; int numTimers = Timers.Count(); -// *(ULONG*)&sendBuffer[count] = htonl(numTimers); count += 4; + *(ULONG*)&sendBuffer[count] = htonl(numTimers); count += 4; for (int i = 0; i < numTimers; i++) { -- 2.39.5