[Spice-devel] [PATCH spice-streaming-agent v3 1/6] Remove the closelog() call

Frediano Ziglio fziglio at redhat.com
Mon Jul 2 08:45:22 UTC 2018


> 
> It is unnecessary, the syslog connections are closed automatically on
> exit.
> 
> Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
> ---
>  src/spice-streaming-agent.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
> index be133e4..0a7edbe 100644
> --- a/src/spice-streaming-agent.cpp
> +++ b/src/spice-streaming-agent.cpp
> @@ -501,6 +501,5 @@ int main(int argc, char* argv[])
>          ret = EXIT_FAILURE;
>      }
>  
> -    closelog();
>      return ret;
>  }

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list