diff options
Diffstat (limited to 'x11vnc/userinput.c')
-rw-r--r-- | x11vnc/userinput.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/userinput.c b/x11vnc/userinput.c index a69e22e..58f1fef 100644 --- a/x11vnc/userinput.c +++ b/x11vnc/userinput.c @@ -5362,8 +5362,10 @@ int fb_update_sent(int *count) { #if 0 sent += cl->framebufferUpdateMessagesSent; #else +#if LIBVNCSERVER_HAS_STATS sent += rfbStatGetMessageCountSent(cl, rfbFramebufferUpdate); #endif +#endif } rfbReleaseClientIterator(i); if (sent != last_count) { |