aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/CMsgHandler.cxx')
-rw-r--r--common/rfb/CMsgHandler.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/rfb/CMsgHandler.cxx b/common/rfb/CMsgHandler.cxx
index 2f91d5a5..f547f0a9 100644
--- a/common/rfb/CMsgHandler.cxx
+++ b/common/rfb/CMsgHandler.cxx
@@ -139,11 +139,8 @@ void CMsgHandler::handleClipboardCaps(uint32_t flags, const uint32_t* lengths)
if (lengths[i] == 0)
vlog.debug(" %s (only notify)", type);
else {
- char bytes[1024];
-
- iecPrefix(lengths[i], "B", bytes, sizeof(bytes));
vlog.debug(" %s (automatically send up to %s)",
- type, bytes);
+ type, iecPrefix(lengths[i], "B").c_str());
}
}
}