From: Chris Tallon Date: Sun, 26 Feb 2006 16:18:51 +0000 (+0000) Subject: Fix for zero length timers list X-Git-Tag: r0-2-5~31 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=ce66cca64b91b913d00db91763e48c7d33d34b05;p=vompserver.git Fix for zero length timers list --- 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++) {