aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgReader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SMsgReader.cxx')
-rw-r--r--common/rfb/SMsgReader.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx
index 0497f887..5df11153 100644
--- a/common/rfb/SMsgReader.cxx
+++ b/common/rfb/SMsgReader.cxx
@@ -106,8 +106,8 @@ bool SMsgReader::readMsg()
ret = readQEMUMessage();
break;
default:
- vlog.error("unknown message type %d", currentMsgType);
- throw protocol_error("unknown message type");
+ vlog.error("Unknown message type %d", currentMsgType);
+ throw protocol_error("Unknown message type");
}
if (ret)
@@ -485,7 +485,7 @@ bool SMsgReader::readQEMUMessage()
ret = readQEMUKeyEvent();
break;
default:
- throw protocol_error(format("unknown QEMU submessage type %d", subType));
+ throw protocol_error(format("Unknown QEMU submessage type %d", subType));
}
if (!ret) {