mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-29 17:07:15 +00:00
smartcard: Fix typo in comment
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
2c1037f47c
commit
46ede1f83c
@ -490,7 +490,7 @@ void smartcard_channel_write_to_reader(RedCharDeviceWriteBuffer *write_buf)
|
||||
dev = RED_CHAR_DEVICE_SMARTCARD(sin->st);
|
||||
spice_assert(!dev->priv->scc ||
|
||||
dev == smartcard_channel_client_get_char_device(dev->priv->scc));
|
||||
/* protocol requires messages to be in network endianess */
|
||||
/* protocol requires messages to be in network endianness */
|
||||
vheader->type = htonl(vheader->type);
|
||||
vheader->length = htonl(vheader->length);
|
||||
vheader->reader_id = htonl(vheader->reader_id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user