Re: [spice-common 7/8] quic: Fix QUIC_VERSION definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> QUIC_VERSION_MINOR is never used.. Set QUIC_VERSION_MINOR to the same
> version as QUIC_VERSION_MAJOR to avoid breaking backwards compatibility,
> and fix the QUIC_VERSION macro.
> 
> Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

> ---
>  common/quic.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/common/quic.c b/common/quic.c
> index 1760274..f91b23f 100644
> --- a/common/quic.c
> +++ b/common/quic.c
> @@ -31,8 +31,8 @@
>  /* ASCII "QUIC" */
>  #define QUIC_MAGIC 0x43495551
>  #define QUIC_VERSION_MAJOR 0U
> -#define QUIC_VERSION_MINOR 1U
> -#define QUIC_VERSION ((QUIC_VERSION_MAJOR << 16) | (QUIC_VERSION_MAJOR &
> 0xffff))
> +#define QUIC_VERSION_MINOR 0U
> +#define QUIC_VERSION ((QUIC_VERSION_MAJOR << 16) | (QUIC_VERSION_MINOR &
> 0xffff))
>  
>  typedef uint8_t BYTE;
>  

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]