mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
Log the invalid message from the stream device
Signed-off-by: Lukáš Hrázký <lhrazky@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
fcaf8d1a1c
commit
dde6fed81f
@ -221,6 +221,8 @@ handle_msg_invalid(StreamDevice *dev, SpiceCharDeviceInstance *sin, const char *
|
||||
error_msg = default_error_msg;
|
||||
}
|
||||
|
||||
g_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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user