summaryrefslogtreecommitdiffstats
path: root/stats.c
diff options
context:
space:
mode:
authordscho <dscho>2001-10-03 02:11:59 +0000
committerdscho <dscho>2001-10-03 02:11:59 +0000
commit05c8f2d4840e8e4d0166b176b8c88bfdfffcce91 (patch)
tree256410bdcf6ad8343f914b146bb67f47ae90d11f /stats.c
parent130ae151d118378e5765713581283728fdfb3e20 (diff)
downloadlibtdevnc-05c8f2d4840e8e4d0166b176b8c88bfdfffcce91.tar.gz
libtdevnc-05c8f2d4840e8e4d0166b176b8c88bfdfffcce91.zip
upgraded to TridiaVNC 1.2.1
Diffstat (limited to 'stats.c')
-rw-r--r--stats.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stats.c b/stats.c
index f712021..b6fcf62 100644
--- a/stats.c
+++ b/stats.c
@@ -69,6 +69,10 @@ rfbPrintStats(rfbClientPtr cl)
totalBytesSent += cl->rfbBytesSent[i];
}
+ totalRectanglesSent += (cl->rfbCursorUpdatesSent +
+ cl->rfbLastRectMarkersSent);
+ totalBytesSent += (cl->rfbCursorBytesSent + cl->rfbLastRectBytesSent);
+
rfbLog(" framebuffer updates %d, rectangles %d, bytes %d\n",
cl->rfbFramebufferUpdateMessagesSent, totalRectanglesSent,
totalBytesSent);