aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SMsgHandler.cxx')
-rw-r--r--common/rfb/SMsgHandler.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/rfb/SMsgHandler.cxx b/common/rfb/SMsgHandler.cxx
index 3eccd92d..092d9f7e 100644
--- a/common/rfb/SMsgHandler.cxx
+++ b/common/rfb/SMsgHandler.cxx
@@ -106,11 +106,8 @@ void SMsgHandler::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());
}
}
}