mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
smartcard handling: Fix compilation when ASSERT-s are turned on
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
65c859ba81
commit
c6800dacf0
@ -453,7 +453,7 @@ static int smartcard_channel_handle_message(RedChannelClient *rcc,
|
||||
return red_channel_client_handle_message(rcc, size, type, msg);
|
||||
}
|
||||
|
||||
ASSERT(header->size == vheader->length + sizeof(VSCMsgHeader));
|
||||
ASSERT(size == vheader->length + sizeof(VSCMsgHeader));
|
||||
switch (vheader->type) {
|
||||
case VSC_ReaderAdd:
|
||||
smartcard_add_reader(rcc, msg + sizeof(VSCMsgHeader));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user