[Spice-devel] [PATCH spice-server] smartcard: Fix typo in comment

Christophe Fergeau cfergeau at redhat.com
Mon Sep 18 09:31:51 UTC 2017


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Mon, Sep 18, 2017 at 10:16:30AM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/smartcard.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/smartcard.c b/server/smartcard.c
> index 73f248518..fa3a55ddb 100644
> --- a/server/smartcard.c
> +++ b/server/smartcard.c
> @@ -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);
> -- 
> 2.13.5
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list