projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
036a80c
)
io: Don't use '#' flag of printf format
author
AlexChen
<alex.chen@huawei.com>
Mon, 19 Oct 2020 12:12:02 +0000
(20:12 +0800)
committer
Daniel P. Berrangé
<berrange@redhat.com>
Thu, 29 Oct 2020 09:57:37 +0000
(09:57 +0000)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
io/channel-websock.c
patch
|
blob
|
history
diff --git
a/io/channel-websock.c
b/io/channel-websock.c
index bb545fa3271f74f65a131ffc7584b7287f12fd4d..03c1f7cb62f77af2b0bef66207db5441cf9368c3 100644
(file)
--- a/
io/channel-websock.c
+++ b/
io/channel-websock.c
@@
-746,7
+746,7
@@
static int qio_channel_websock_decode_header(QIOChannelWebsock *ioc,
opcode != QIO_CHANNEL_WEBSOCK_OPCODE_CLOSE &&
opcode != QIO_CHANNEL_WEBSOCK_OPCODE_PING &&
opcode != QIO_CHANNEL_WEBSOCK_OPCODE_PONG) {
- error_setg(errp, "unsupported opcode:
%#
04x; only binary, close, "
+ error_setg(errp, "unsupported opcode:
0x%
04x; only binary, close, "
"ping, and pong websocket frames are supported", opcode);
qio_channel_websock_write_close(
ioc, QIO_CHANNEL_WEBSOCK_STATUS_INVALID_DATA ,