From ccdbe8f3256c3c776a1cc1a0517a38437b9e2c65 Mon Sep 17 00:00:00 2001 From: steven_carr Date: Mon, 15 May 2006 05:37:39 +0000 Subject: The great UltraVNC Compatibility Commit --- libvncserver/ultra.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libvncserver/ultra.c') diff --git a/libvncserver/ultra.c b/libvncserver/ultra.c index e1821bb..1e51446 100644 --- a/libvncserver/ultra.c +++ b/libvncserver/ultra.c @@ -101,9 +101,7 @@ rfbSendOneRectEncodingUltra(rfbClientPtr cl, } /* Update statics */ - cl->rectanglesSent[rfbEncodingUltra]++; - cl->bytesSent[rfbEncodingUltra] += (sz_rfbFramebufferUpdateRectHeader - + sz_rfbZlibHeader + lzoAfterBufLen); + rfbStatRecordEncodingSent(cl, rfbEncodingUltra, sz_rfbFramebufferUpdateRectHeader + sz_rfbZlibHeader + lzoAfterBufLen, maxRawSize); if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbZlibHeader > UPDATE_BUF_SIZE) -- cgit v1.2.1