mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 18:34:19 +00:00
spicec: fix ASSERT to accept size == 0
which is useful when calling RedClient::on_clipboard_notify(VD_AGENT_CLIPBOARD_NONE, NULL, 0);
This commit is contained in:
parent
dd31c0cbfd
commit
eb3efa3cbb
@ -888,7 +888,7 @@ void RedClient::on_clipboard_release()
|
||||
|
||||
void RedClient::send_agent_clipboard_notify_message(uint32_t type, uint8_t *data, uint32_t size)
|
||||
{
|
||||
ASSERT(size && data);
|
||||
ASSERT(data || !size);
|
||||
if (!_agent_connected) {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user