]> git.vomp.tv Git - vompserver.git/commitdiff
Fix for zero length timers list
authorChris Tallon <chris@vomp.tv>
Sun, 26 Feb 2006 16:18:51 +0000 (16:18 +0000)
committerChris Tallon <chris@vomp.tv>
Sun, 26 Feb 2006 16:18:51 +0000 (16:18 +0000)
mvpclient.c

index dba85ac9a372cf3ef790c965943265e75a5f83c0..38d06f19bdadbc823b6d60375a5d27b100fbc20c 100644 (file)
@@ -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++)
   {