aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2013-09-05 14:25:40 +0000
committerPierre Ossman <ossman@cendio.se>2013-09-05 14:25:40 +0000
commit5803d3ba317d35f8b928a887bf36b37b486d121d (patch)
treeb2948ed518df7381f5c976f4454757c6ad4562d7 /vncviewer/Viewport.cxx
parenteef02d4940c0d0c0ca646b0327566507f46975b4 (diff)
downloadtigervnc-5803d3ba317d35f8b928a887bf36b37b486d121d.tar.gz
tigervnc-5803d3ba317d35f8b928a887bf36b37b486d121d.zip
Printing the clipboard data is very annoying as it could
include line breaks, things with the wrong character encoding and god knows what. Just print the size of the data instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5133 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/Viewport.cxx')
-rw-r--r--vncviewer/Viewport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index 9fd849f8..4b8a85b0 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -365,7 +365,7 @@ int Viewport::handle(int event)
Fl::event_length() + 1);
assert(ret < (Fl::event_length() + 1));
- vlog.debug("Sending clipboard data: '%s'", buffer);
+ vlog.debug("Sending clipboard data (%d bytes)", strlen(buffer));
try {
cc->writer()->clientCutText(buffer, ret);