Re: [PATCH 09/15] Change reds_init_net() to take RedsState arg

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

 



On Wed, 2016-01-20 at 13:25 +0000, Frediano Ziglio wrote:
> From: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> 
Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>
> ---
>  server/reds.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/reds.c b/server/reds.c
> index 58e45ae..81d253c 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -2570,7 +2570,7 @@ void reds_set_client_mm_time_latency(RedsState
> *reds, RedClient *client, uint32_
>      }
>  }
>  
> -static int reds_init_net(void)
> +static int reds_init_net(RedsState *reds)
>  {
>      if (spice_port != -1 || spice_family == AF_UNIX) {
>          reds->listen_socket = reds_init_socket(spice_addr,
> spice_port, spice_family);
> @@ -3396,7 +3396,7 @@ static int do_spice_init(SpiceCoreInterface
> *core_interface)
>      }
>  #endif
>  
> -    if (reds_init_net() < 0) {
> +    if (reds_init_net(reds) < 0) {
>          goto err;
>      }
>      if (reds->secure_listen_socket != -1) {
_______________________________________________
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]