[Spice-devel] [PATCH spice-server] Log the invalid message from the stream device
Lukáš Hrázký
lhrazky at redhat.com
Wed Aug 8 12:59:52 UTC 2018
Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
---
server/red-stream-device.c | 2 ++
subprojects/spice-common | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/server/red-stream-device.c b/server/red-stream-device.c
index d293dc1c..d402459e 100644
--- a/server/red-stream-device.c
+++ b/server/red-stream-device.c
@@ -221,6 +221,8 @@ handle_msg_invalid(StreamDevice *dev, SpiceCharDeviceInstance *sin, const char *
error_msg = default_error_msg;
}
+ spice_warning("Stream device received invalid message: %s", error_msg);
+
int msg_size = sizeof(StreamMsgNotifyError) + strlen(error_msg) + 1;
int total_size = sizeof(StreamDevHeader) + msg_size;
diff --git a/subprojects/spice-common b/subprojects/spice-common
index f82a6c53..98bab993 160000
--- a/subprojects/spice-common
+++ b/subprojects/spice-common
@@ -1 +1 @@
-Subproject commit f82a6c5349a9a71485910bd3a57fe588c49d74f8
+Subproject commit 98bab9930641aa451e388d15b341ac981f6ec8ff
--
2.18.0
More information about the Spice-devel
mailing list