summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-16 19:31:06 +0000
committersteven_carr <steven_carr>2006-05-16 19:31:06 +0000
commit0a21bf330c5dc6f1e1e5112fea60ea88131fb50b (patch)
treedcefa1956fb6fb1484ab4454d2591ed3b03969c4
parentbd12b13c91de8ec31a82576b0d3a8ede80623f51 (diff)
downloadlibtdevnc-0a21bf330c5dc6f1e1e5112fea60ea88131fb50b.tar.gz
libtdevnc-0a21bf330c5dc6f1e1e5112fea60ea88131fb50b.zip
Corrected Cursor Statistics reporting as messages
-rw-r--r--libvncserver/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/cursor.c b/libvncserver/cursor.c
index 8cc5ecb..a4748d8 100644
--- a/libvncserver/cursor.c
+++ b/libvncserver/cursor.c
@@ -164,7 +164,7 @@ rfbSendCursorShape(rfbClientPtr cl)
}
/* Send everything we have prepared in the cl->updateBuf[]. */
- rfbStatRecordMessageSent(cl, (cl->useRichCursorEncoding ? rfbEncodingRichCursor : rfbEncodingXCursor),
+ rfbStatRecordEncodingSent(cl, (cl->useRichCursorEncoding ? rfbEncodingRichCursor : rfbEncodingXCursor),
sz_rfbFramebufferUpdateRectHeader + (cl->ublen - saved_ublen), sz_rfbFramebufferUpdateRectHeader + (cl->ublen - saved_ublen));
if (!rfbSendUpdateBuf(cl))
@@ -197,7 +197,7 @@ rfbSendCursorPos(rfbClientPtr cl)
sz_rfbFramebufferUpdateRectHeader);
cl->ublen += sz_rfbFramebufferUpdateRectHeader;
- rfbStatRecordMessageSent(cl, rfbEncodingPointerPos, sz_rfbFramebufferUpdateRectHeader, sz_rfbFramebufferUpdateRectHeader);
+ rfbStatRecordEncodingSent(cl, rfbEncodingPointerPos, sz_rfbFramebufferUpdateRectHeader, sz_rfbFramebufferUpdateRectHeader);
if (!rfbSendUpdateBuf(cl))
return FALSE;