diff options
-rw-r--r-- | libvncserver/cursor.c | 4 |
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; |