summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/CConn.cxx2
-rw-r--r--vncviewer/Viewport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx
index 4aeb03f1..f97b0f4c 100644
--- a/vncviewer/CConn.cxx
+++ b/vncviewer/CConn.cxx
@@ -364,7 +364,7 @@ void CConn::serverCutText(const char* str, rdr::U32 len)
ret = fl_utf8froma(buffer, size, str, len);
assert(ret < size);
- vlog.debug("Got clipboard data: '%s'", buffer);
+ vlog.debug("Got clipboard data (%d bytes)", strlen(buffer));
// RFB doesn't have separate selection and clipboard concepts, so we
// dump the data into both variants.
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);