Re: [PATCH 1/9] Fix test_capability() typo

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

 



ack, you could commit right away

----- Original Message -----
> It was spelt 'capabilty'
> ---
>  server/red_channel.c | 14 +++++++-------
>  server/red_channel.h |  2 +-
>  server/reds.c        |  4 ++--
>  3 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/server/red_channel.c b/server/red_channel.c
> index b81deeb..4f85365 100644
> --- a/server/red_channel.c
> +++ b/server/red_channel.c
> @@ -684,16 +684,16 @@ static void
> red_channel_client_destroy_remote_caps(RedChannelClient* rcc)
>  
>  int red_channel_client_test_remote_common_cap(RedChannelClient *rcc,
>  uint32_t cap)
>  {
> -    return test_capabilty(rcc->remote_caps.common_caps,
> -                          rcc->remote_caps.num_common_caps,
> -                          cap);
> +    return test_capability(rcc->remote_caps.common_caps,
> +                           rcc->remote_caps.num_common_caps,
> +                           cap);
>  }
>  
>  int red_channel_client_test_remote_cap(RedChannelClient *rcc, uint32_t cap)
>  {
> -    return test_capabilty(rcc->remote_caps.caps,
> -                          rcc->remote_caps.num_caps,
> -                          cap);
> +    return test_capability(rcc->remote_caps.caps,
> +                           rcc->remote_caps.num_caps,
> +                           cap);
>  }
>  
>  int red_channel_test_remote_common_cap(RedChannel *channel, uint32_t cap)
> @@ -1172,7 +1172,7 @@ void red_channel_register_client_cbs(RedChannel
> *channel, ClientCbs *client_cbs)
>      }
>  }
>  
> -int test_capabilty(uint32_t *caps, int num_caps, uint32_t cap)
> +int test_capability(uint32_t *caps, int num_caps, uint32_t cap)
>  {
>      uint32_t index = cap / 32;
>      if (num_caps < index + 1) {
> diff --git a/server/red_channel.h b/server/red_channel.h
> index f638d3c..f9cfb95 100644
> --- a/server/red_channel.h
> +++ b/server/red_channel.h
> @@ -223,7 +223,7 @@ typedef struct RedChannelCapabilities {
>      uint32_t *caps;
>  } RedChannelCapabilities;
>  
> -int test_capabilty(uint32_t *caps, int num_caps, uint32_t cap);
> +int test_capability(uint32_t *caps, int num_caps, uint32_t cap);
>  
>  typedef struct RedChannelClientLatencyMonitor {
>      int state;
> diff --git a/server/reds.c b/server/reds.c
> index 6706754..0a28032 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -2061,8 +2061,8 @@ static void reds_handle_read_link_done(void *opaque)
>          return;
>      }
>  
> -    auth_selection = test_capabilty(caps, link_mess->num_common_caps,
> -
> SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION);
> +    auth_selection = test_capability(caps, link_mess->num_common_caps,
> +
> SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION);
>  
>      if (!reds_security_check(link)) {
>          if (reds_stream_is_ssl(link->stream)) {
> --
> 1.8.5.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




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