|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen-unstable] Fix build after "ui/vnc: limit client_cut_text msg payload size"
commit 1c8d43cbdf0fc01a8f05acfbf55b805a83da34bb
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
AuthorDate: Tue Sep 8 15:41:20 2015 +0100
Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Tue Sep 8 15:42:31 2015 +0100
Fix build after "ui/vnc: limit client_cut_text msg payload size"
That backport (which also erroneously refers to ui/vnc.c rather than
vnc.c in its commit message) broke the build because we do not have
`error_report'. Use fprintf to stderr, like the rest of the file.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
vnc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vnc.c b/vnc.c
index 86c2ff4..48e5c46 100644
--- a/vnc.c
+++ b/vnc.c
@@ -1769,8 +1769,8 @@ static int protocol_client_msg(VncState *vs, uint8_t
*data, size_t len)
uint32_t v;
v = read_u32(data, 4);
if (v > (1 << 20)) {
- error_report("vnc: client_cut_text msg payload has %u bytes"
- " which exceeds our limit of 1MB.", v);
+ fprintf(stderr, "vnc: client_cut_text msg payload has %u bytes"
+ " which exceeds our limit of 1MB.\n", v);
vnc_client_error(vs);
break;
}
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |